@rifansi/angular-datetime-picker
Version:
Angular Date Time Picker
15 lines (13 loc) • 636 B
text/typescript
/**
* unix-timestamp-date-time-format.class
*/
import {OwlDateTimeFormats} from '../date-time-format.class';
export const OWL_UNIX_TIMESTAMP_DATE_TIME_FORMATS: OwlDateTimeFormats = {
parseInput: null,
fullPickerInput: {year: 'numeric', month: 'numeric', day: 'numeric', hour: 'numeric', minute: 'numeric'},
datePickerInput: {year: 'numeric', month: 'numeric', day: 'numeric'},
timePickerInput: {hour: 'numeric', minute: 'numeric'},
monthYearLabel: {year: 'numeric', month: 'short'},
dateA11yLabel: {year: 'numeric', month: 'long', day: 'numeric'},
monthYearA11yLabel: {year: 'numeric', month: 'long'},
};