From: skakz Date: Thu, 9 Oct 2014 07:22:25 +0000 (+0200) Subject: Update it.js X-Git-Tag: 2.8.4~23^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6030b21d25ca39514a7545d7a1325661c16f2555;p=thirdparty%2Fmoment.git Update it.js --- diff --git a/locale/it.js b/locale/it.js index 5d14ca498..a014737b4 100644 --- a/locale/it.js +++ b/locale/it.js @@ -31,7 +31,14 @@ nextDay: '[Domani alle] LT', nextWeek: 'dddd [alle] LT', lastDay: '[Ieri alle] LT', - lastWeek: '[lo scorso] dddd [alle] LT', + lastWeek: function () { + switch (this.day()) { + case 0: + return '[la scorsa] dddd [alle] LT'; + default: + return '[lo scorso] dddd [alle] LT'; + } + }, sameElse: 'L' }, relativeTime : {