0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00
ghost/core
Matt Hanley b4140d4310
Updated default format for date helper to locale-based date string (#12733)
refs https://github.com/TryGhost/Casper/pull/741
closes https://github.com/TryGhost/Team/issues/524

- Use a local-based format as the default format as suggested in https://github.com/TryGhost/Casper/pull/741
- reworked the helper to be easier to read and follow the different use cases
- introduced setting and resetting locale in tests via settingsCache and themei18n
- updated tests to cover more cases e.g. passing a date, this.published_at and no date
- added validation for user inputted dates because they could literally be anything

Co-authored-by: Hannah Wolfe <erisds@gmail.com>
2021-03-05 13:35:31 +00:00
..
client@21be0a553b Updated Ghost-Admin to v4.0.0-alpha.3 2021-02-23 19:41:50 +00:00
frontend Updated default format for date helper to locale-based date string (#12733) 2021-03-05 13:35:31 +00:00
server Excluded member events tables from site exports 2021-03-05 11:41:00 +00:00
shared Bumped default API version to v4 in url-utils 2021-03-03 17:26:55 +13:00
app.js Added Sentry to new boot process 2021-02-19 09:20:41 +00:00
boot.js Added limit service 2021-03-03 13:43:05 +00:00