FIX: use short date format for topic summary

This commit is contained in:
Arpit Jalan 2014-08-30 11:54:47 +05:30
parent 7a50ba600a
commit 289d9e4fe1
2 changed files with 4 additions and 4 deletions

View File

@ -67,7 +67,7 @@ en:
almost_x_years:
one: "1y"
other: "%{count}y"
date_month: "D MMM"
date_month: "MMM D"
date_year: "MMM 'YY"
medium:
x_minutes:
@ -79,7 +79,7 @@ en:
x_days:
one: "1 day"
other: "%{count} days"
date_year: "D MMM YYYY"
date_year: "MMM D, 'YY"
medium_with_ago:
x_minutes:
one: "1 min ago"

View File

@ -29,7 +29,7 @@ var formatDays = function(days) {
};
var shortDate = function(days){
return moment().subtract(days, 'days').format('D MMM');
return moment().subtract(days, 'days').format('MMM D');
};
test("formating medium length dates", function() {
@ -40,7 +40,7 @@ test("formating medium length dates", function() {
};
var shortDateYear = function(days){
return moment().subtract(days, 'days').format('D MMM YYYY');
return moment().subtract(days, 'days').format("MMM D, 'YY");
};
leaveAgo = true;