mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 22:23:45 +08:00
FIX: shortDate tests
This commit is contained in:
parent
f8bf0fbad8
commit
8b6930a5cf
|
@ -29,7 +29,7 @@ var formatDays = function(days) {
|
|||
};
|
||||
|
||||
var shortDate = function(days){
|
||||
return moment().subtract('days', days).format('MMM D');
|
||||
return moment().subtract('days', days).format('D MMM');
|
||||
};
|
||||
|
||||
test("formating medium length dates", function() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user