mirror of
https://github.com/discourse/discourse.git
synced 2025-06-06 03:06:53 +08:00
FIX: shortDate tests
This commit is contained in:
@ -29,7 +29,7 @@ var formatDays = function(days) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
var shortDate = 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() {
|
test("formating medium length dates", function() {
|
||||||
|
Reference in New Issue
Block a user