@datarailsshared/datarailsshared 1.4.174 → 1.4.175
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.
- package/bundles/datarailsshared-datarailsshared.umd.js +1 -1
- package/bundles/datarailsshared-datarailsshared.umd.js.map +1 -1
- package/datarailsshared-datarailsshared-1.4.175.tgz +0 -0
- package/esm2015/lib/dr-inputs/date-pickers/dr-date-picker/dr-date-picker.component.js +2 -2
- package/fesm2015/datarailsshared-datarailsshared.js +1 -1
- package/fesm2015/datarailsshared-datarailsshared.js.map +1 -1
- package/package.json +1 -1
- package/datarailsshared-datarailsshared-1.4.174.tgz +0 -0
|
@@ -5144,7 +5144,7 @@
|
|
|
5144
5144
|
* Issue in electron: when we select date, date select with -1 (if we're choosing 2023, output will be 2022)
|
|
5145
5145
|
*/
|
|
5146
5146
|
var convertedValue = document.is_electron ? moment.unix(value) : moment.unix(value).utc();
|
|
5147
|
-
this.innerValue = convertedValue
|
|
5147
|
+
this.innerValue = value ? convertedValue : value;
|
|
5148
5148
|
if (this.innerValue) {
|
|
5149
5149
|
this.tryToNormalaizeTimeframe();
|
|
5150
5150
|
}
|