
JavaScript dates made simple. Tweets by @kossnocorp
Joined December 2015
- Tweets395
- Following104
- Followers1.1K
- Likes110
date-fns retweeted
π¦ΈββοΈWe believe in supporting our #opensource ecosystem and tools that enhance the development experience.
That's why we're excited to announce that #Reactadmin is now sponsoring @date_fns, the modern #JavaScript date utility library!π€
date-fns.org/
#webdev #react #OSS
β
v3.3.0 is out!
It introduces a bunch of bug fixes and small improvements:
πͺ² A lot of functions are fixed when working with negative fractional values
π¨πΏ π«π· Czech and French fixes
π differenceInSeconds function fix
π½ formatDate function alias
π v3.2.0 is out
- Fixed types compatibility with Lodash's flow and fp-ts's pipe.
- Fixed inconsistent behavior of roundToNearestMinutes.
-Added exports of format, lightFormat, and parse internals that enable 3rd-parties to consume those.
github.com/date-fns/date-fnsβ¦
date-fns retweeted
π date-fns v3 is out!
β’ Full TypeScript rewrite
β’ No more runtime type checking
β’ Minimal size is now 200 bytes!
β’ String arguments are back!
β’ UTCDate
β’ Node.js ESM support
β’ No more default exports
β’ New flat library structure
β’ No more IE
date-fns retweeted
I will create @date-fns/react with hooks to quickly render dates, ranges, distances, etc.
What would you want to see in it?
date-fns retweeted
Should date-fns accept strings as arguments? I will abide by the results of this poll.
For context - we removed strings in v2 to avoid bugs caused by engine differences and parsing time zone nuances.
36%Accept strings
64%Do not accept strings
53 votes β’ Final resultsv2.30.0 is out with decreased build size πͺΆ
Read more about the problem and the solution: github.com/date-fns/date-fnsβ¦
π§βπ§ v2.29.3 patch is out! It includes:
πΊπ¦ Ukrainian locale grammar fix for formatDistance.
π§ Improved browser compatibility.
See full change log:
github.com/date-fns/date-fnsβ¦
π©Ή v.2.29.2 patch has been released!
See the full changelog:
github.com/date-fns/date-fnsβ¦
π v2.29.1 patch is out! It fixes an error in TypeScript type definitions.
See the changelog here:
github.com/date-fns/date-fnsβ¦
π v.2.29.0 is out with tons of exciting changes:
- Global options: set default locale, and other I18n options
- intlFormatDistance function
- 3 new locales
- Many more fixes and improvements.
See the full changelog here: github.com/date-fns/date-fnsβ¦
π Intl version of formatDistance. Get a human-readable distance between two dates using the built-in browser API.
date-fns.org/v2.29.0/docs/inβ¦










