1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 17:56:25 +00:00

Merge pull request #1859 from yosmoc/moment_updateLocale_warning

fix deprecation warning
This commit is contained in:
Junyoung Choi (Sai)
2018-04-24 04:56:52 +09:00
committed by GitHub

View File

@@ -916,7 +916,7 @@ class NoteList extends React.Component {
if (note.isTrashed !== true || location.pathname === '/trashed') return true
})
moment.locale('en', {
moment.updateLocale('en', {
relativeTime: {
future: 'in %s',
past: '%s ago',