|
@@ -85,6 +85,7 @@ String.prototype.parseDateMessage = function (millis, messages) { |
|
|
const date = new Date(millis); |
|
|
const date = new Date(millis); |
|
|
const context = { |
|
|
const context = { |
|
|
YYYY: date.getFullYear(), |
|
|
YYYY: date.getFullYear(), |
|
|
|
|
|
YY: (date.getFullYear() % 100 < 10 ? '0' + (date.getFullYear() % 100) : (date.getFullYear() % 100)), |
|
|
MMMM: messages['label_date_month_'+date.getMonth()], |
|
|
MMMM: messages['label_date_month_'+date.getMonth()], |
|
|
MMM: messages['label_date_month_short_'+date.getMonth()], |
|
|
MMM: messages['label_date_month_short_'+date.getMonth()], |
|
|
MM: date.getMonth() < 10 ? '0' + messages['label_date_month_number_'+date.getMonth()] : messages['label_date_month_number_'+date.getMonth()], |
|
|
MM: date.getMonth() < 10 ? '0' + messages['label_date_month_number_'+date.getMonth()] : messages['label_date_month_number_'+date.getMonth()], |
|
|