spec/js/dates.spec.js in i18n-js-3.4.2 vs spec/js/dates.spec.js in i18n-js-3.5.0
- old
+ new
@@ -130,9 +130,10 @@
// 2009-04-26 19:35:44 (Sunday)
var date = new Date(2009, 3, 9, 7, 8, 9);
// 24-hour without padding
expect(I18n.strftime(date, "%-H")).toEqual("7");
+ expect(I18n.strftime(date, "%k")).toEqual("7");
// 12-hour without padding
expect(I18n.strftime(date, "%-I")).toEqual("7");
expect(I18n.strftime(date, "%l")).toEqual("7");