@brightspace-ui/core 1.207.1 → 1.207.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -309,7 +309,7 @@ class InputDateTime extends LabelledMixin(SkeletonMixin(FormElementMixin(Localiz
|
|
|
309
309
|
} else {
|
|
310
310
|
const inputTime = this.shadowRoot.querySelector('d2l-input-time');
|
|
311
311
|
let time;
|
|
312
|
-
if (e.detail
|
|
312
|
+
if (e.detail && e.detail.setToNow) time = _getFormattedDefaultTime('now');
|
|
313
313
|
else time = inputTime ? inputTime.value : _getFormattedDefaultTime(this.timeDefaultValue);
|
|
314
314
|
this.value = this.localized ? _formatLocalDateTimeInISO(newDate, time) : getUTCDateTimeFromLocalDateTime(newDate, time);
|
|
315
315
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brightspace-ui/core",
|
|
3
|
-
"version": "1.207.
|
|
3
|
+
"version": "1.207.2",
|
|
4
4
|
"description": "A collection of accessible, free, open-source web components for building Brightspace applications",
|
|
5
5
|
"repository": "https://github.com/BrightspaceUI/core.git",
|
|
6
6
|
"publishConfig": {
|