Repository navigation
Release version 2.1.0
- Ordinal date parsing and formating
In Jiffy you can now parse and format with ordinal date. e.g
Jiffy().format("MMM do yyyy"); // Oct 19th 2019It also supports locales for the following
"en", "es", "fr", "frch", "frca", "it", "itch", "ja", "ko", "pt", "ptbr", "zh", "zhcn", "zhhk", "zhtw", "de", "deat", "dech"
- Added
daysInMonthmethod to get number of days for specific months .e.g
Jiffy([2016, 1]).daysInMonth; // 31
Jiffy([2016, 2]).daysInMonth; // 28
Jiffy([2017, 2]).daysInMonth; // 29