From 1398d85626e84e60a83e5968b4f40ca0b336bfea Mon Sep 17 00:00:00 2001 From: James Allen Date: Wed, 19 Mar 2014 10:45:00 +0000 Subject: [PATCH] Improve date format in change list --- .../public/coffee/track-changes/ChangeListView.coffee | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/services/web/public/coffee/track-changes/ChangeListView.coffee b/services/web/public/coffee/track-changes/ChangeListView.coffee index 22bb129e03..11487a2e83 100644 --- a/services/web/public/coffee/track-changes/ChangeListView.coffee +++ b/services/web/public/coffee/track-changes/ChangeListView.coffee @@ -3,6 +3,15 @@ define [ "libs/mustache" "libs/backbone" ], (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 template: $("#changeListTemplate").html()