Skip to content

Commit a8eefaf

Browse files
authored
banner.js: Workaround formatting bug in localized countdown timer for ar
1 parent adab95f commit a8eefaf

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

public/banner.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -295,10 +295,10 @@
295295
}
296296
}
297297

298-
cacheFormattingInfo(1, "day");
299-
cacheFormattingInfo(2, "hour");
300-
cacheFormattingInfo(3, "minute");
301-
cacheFormattingInfo(4, "second");
298+
cacheFormattingInfo(11, "day");
299+
cacheFormattingInfo(22, "hour");
300+
cacheFormattingInfo(33, "minute");
301+
cacheFormattingInfo(44, "second");
302302

303303
function getLocalizedUnit(value, unit, trimConjunction, trimSuffix) {
304304
var offset = getOffset(unit);

0 commit comments

Comments
 (0)