Merge pull request #2727 from techAPJ/patch-4

FIX: use short date format for topic summary
This commit is contained in:
Jeff Atwood 2014-08-29 23:41:16 -07:00
commit fb33081c36
2 changed files with 4 additions and 4 deletions

View File

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

View File

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