mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-06 22:40:14 -05:00
Merge pull request #3211 from novaugust/yearless-date-parsing
Add yearless date as an acceptable format for moment parsing
This commit is contained in:
commit
4fe37c00b5
1 changed files with 2 additions and 1 deletions
|
@ -5,7 +5,8 @@ var parseDateFormats = ['DD MMM YY @ HH:mm', 'DD MMM YY HH:mm',
|
||||||
'DD/MM/YYYY @ HH:mm', 'DD/MM/YYYY HH:mm',
|
'DD/MM/YYYY @ HH:mm', 'DD/MM/YYYY HH:mm',
|
||||||
'DD-MM-YY @ HH:mm', 'DD-MM-YY HH:mm',
|
'DD-MM-YY @ HH:mm', 'DD-MM-YY HH:mm',
|
||||||
'DD-MM-YYYY @ HH:mm', 'DD-MM-YYYY HH:mm',
|
'DD-MM-YYYY @ HH:mm', 'DD-MM-YYYY HH:mm',
|
||||||
'YYYY-MM-DD @ HH:mm', 'YYYY-MM-DD HH:mm'],
|
'YYYY-MM-DD @ HH:mm', 'YYYY-MM-DD HH:mm',
|
||||||
|
'DD MMM @ HH:mm', 'DD MMM HH:mm'],
|
||||||
displayDateFormat = 'DD MMM YY @ HH:mm';
|
displayDateFormat = 'DD MMM YY @ HH:mm';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue