Improve date format in change list

This commit is contained in:
James Allen 2014-03-19 10:45:00 +00:00
parent a8ca388146
commit 1398d85626

View file

@ -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()