You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
format is one of the most (if not the most) popular function in date-fns, but because it involves locales it's one the most (if not the most) heavyweight function in date-fns.
Given that v2 locales became even more heavyweight, I want to introduce lightFormat that will cover the most common cases and address the size problem.
The current goal is to be able to print ISO 8601 plus hh representing 12-hour clock and a..aaa representing am/pm.
The text was updated successfully, but these errors were encountered:
format
is one of the most (if not the most) popular function in date-fns, but because it involves locales it's one the most (if not the most) heavyweight function in date-fns.Given that v2 locales became even more heavyweight, I want to introduce
lightFormat
that will cover the most common cases and address the size problem.The current goal is to be able to print ISO 8601 plus
hh
representing 12-hour clock anda..aaa
representing am/pm.The text was updated successfully, but these errors were encountered: