Skip to content

Commit

Permalink
Datetime format fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
OgunyemiO committed Nov 15, 2023
1 parent 9abf665 commit 0b141cd
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 12 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hmcts/ccd-case-ui-toolkit",
"version": "6.19.13",
"version": "6.19.14-prerelease-datetime-picker-fix",
"engines": {
"yarn": "^3.5.0",
"npm": "^8.10.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ import { NgxMatDateFormats } from '@angular-material-components/datetime-picker'

export const CUSTOM_MOMENT_FORMATS: NgxMatDateFormats = {
parse: {
dateInput: 'YYYY MM DD HH:mm:ss'
dateInput: 'YYYY-MM-DD HH:mm:ss'
},
display: {
dateInput: 'YYYY MM DD HH:mm:ss',
dateInput: 'YYYY-MM-DD HH:mm:ss',
monthYearLabel: 'MMMM YYYY',
dateA11yLabel: 'EEE/MMM/YYYY',
monthYearA11yLabel: 'MMMM YYYY',
Expand Down
Loading

0 comments on commit 0b141cd

Please sign in to comment.