You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
valuesDateFormat is not exposed in the builder for the moment.
To override the format use
import { OWL_DATE_TIME_FORMATS } from '@danielmoncada/angular-datetime-picker';
export const MY_CUSTOM_FORMATS = {
fullPickerInput: 'YYYY-MM-DD HH:mm:ss', // CHANGE FORMAT HERE
parseInput: 'YYYY-MM-DD HH:mm:ss', // CHANGE FORMAT HERE
datePickerInput: 'YYYY-MM-DD HH:mm:ss', // CHANGE FORMAT HERE
timePickerInput: 'LT',
monthYearLabel: 'MMM YYYY',
dateA11yLabel: 'LL',
monthYearA11yLabel: 'MMMM YYYY'
};
providers: [
{ provide: OWL_DATE_TIME_FORMATS, useValue: MY_CUSTOM_FORMATS }
]```
MohamedHamouGisaia
changed the title
[Timeline] Datepicker format of date input should use histogramParams.valuesDateFormat
Datepicker format of date input should use histogramParams.valuesDateFormat
Nov 28, 2024
Currently the date picker use the local and we have different format in the app :
The text was updated successfully, but these errors were encountered: