From 36962cee1bfc71d97db5f441ade726f0f8f14e39 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mindaugas=20Moz=C5=ABras?= Date: Sat, 25 Jan 2014 19:22:18 +0200 Subject: [PATCH] Fix lang/lt nominative weekday detection Not actually using it in production, so only noticed because of: https://github.com/moment/moment/pull/1424 --- lang/lt.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lang/lt.js b/lang/lt.js index 1cf6457d2..3377375cd 100644 --- a/lang/lt.js +++ b/lang/lt.js @@ -61,7 +61,7 @@ } function relativeWeekDay(moment, format) { - var nominative = format.indexOf('dddd LT') === -1, + var nominative = format.indexOf('dddd HH:mm') === -1, weekDay = weekDays[moment.weekday()]; return nominative ? weekDay : weekDay.substring(0, weekDay.length - 2) + "į"; -- 2.47.2