i18nized date-format on chat messages

This commit is contained in:
mluto 2013-01-04 20:09:56 +01:00
parent d1062fea5e
commit 0eeed7abef

View file

@ -97,7 +97,7 @@ var chat = (function()
if(day.length == 1) if(day.length == 1)
day = "0" + day ; day = "0" + day ;
var timeStr = hours + ":" + minutes; var timeStr = hours + ":" + minutes;
var dateStr = month + "/" + day + "/" + year; var dateStr = html10n.get('timeslider.dateonlyformat', {month: month, day: day, year: year});
//create the authorclass //create the authorclass
var authorClass = "author-" + msg.userId.replace(/[^a-y0-9]/g, function(c) var authorClass = "author-" + msg.userId.replace(/[^a-y0-9]/g, function(c)