mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-23 22:11:09 +03:00
Merge pull request #5262 from hex337/fix-5248-set-post-date
Allow setting a post date using a single digit day.
This commit is contained in:
commit
199ec56ef0
@ -8,13 +8,16 @@ var parseDateFormats,
|
||||
formatDate;
|
||||
|
||||
parseDateFormats = ['DD MMM YY @ HH:mm', 'DD MMM YY HH:mm',
|
||||
'D MMM YY @ HH:mm', 'D MMM YY HH:mm',
|
||||
'DD MMM YYYY @ HH:mm', 'DD MMM YYYY HH:mm',
|
||||
'D MMM YYYY @ HH:mm', 'D MMM YYYY HH:mm',
|
||||
'DD/MM/YY @ HH:mm', 'DD/MM/YY HH:mm',
|
||||
'DD/MM/YYYY @ HH:mm', 'DD/MM/YYYY HH:mm',
|
||||
'DD-MM-YY @ HH:mm', 'DD-MM-YY HH:mm',
|
||||
'DD-MM-YYYY @ HH:mm', 'DD-MM-YYYY HH:mm',
|
||||
'YYYY-MM-DD @ HH:mm', 'YYYY-MM-DD HH:mm',
|
||||
'DD MMM @ HH:mm', 'DD MMM HH:mm'];
|
||||
'DD MMM @ HH:mm', 'DD MMM HH:mm',
|
||||
'D MMM @ HH:mm', 'D MMM HH:mm'];
|
||||
|
||||
displayDateFormat = 'DD MMM YY @ HH:mm';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user