0
GarethWright created
Language is set to English UK and date set to 2020-07-13 in datepicker.
Date saved is 2020-07-12 because it is not accounting for daylight savings time.
More worrying is that on updating the entity all the date fields are changed to the previous day.
I think this is because if the language is 'en' it just returns the promise without checking any locale specifics like DST. <br>
static registerNgxBootstrapDatePickerLocales(): Promise {
if (abp.localization.currentLanguage.name === 'en') {
return Promise.resolve(true);
}
1 Answer(s)
-
0
Hi @GarethWright
Do you use
UtcClockProvider
? see https://aspnetboilerplate.com/Pages/Documents/Timing for details.