mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Improve date format in change list
This commit is contained in:
parent
a8ca388146
commit
1398d85626
1 changed files with 9 additions and 0 deletions
|
@ -3,6 +3,15 @@ define [
|
||||||
"libs/mustache"
|
"libs/mustache"
|
||||||
"libs/backbone"
|
"libs/backbone"
|
||||||
], (moment)->
|
], (moment)->
|
||||||
|
|
||||||
|
moment.lang "en", calendar:
|
||||||
|
lastDay : '[Yesterday at] h:mm a'
|
||||||
|
sameDay : '[Today at] h:mm a'
|
||||||
|
nextDay : '[Tomorrow at] h:mm a'
|
||||||
|
lastWeek : "Do MMM YYYY, h:mm a"
|
||||||
|
nextWeek : "Do MMM YYYY, h:mm a"
|
||||||
|
sameElse : 'Do MMM YYYY, h:mm a'
|
||||||
|
|
||||||
ChangeListView = Backbone.View.extend
|
ChangeListView = Backbone.View.extend
|
||||||
template: $("#changeListTemplate").html()
|
template: $("#changeListTemplate").html()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue