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
{{ message }}
This repository was archived by the owner on Apr 14, 2021. It is now read-only.
and use it like this : new Intl.DateTimeFormat('en', { weekday: 'long', day: '2-digit', month: '2-digit' }).format(new Date("2018-01-25T00:00:00"))
but it shows : Thu, 1/25
instead of Thuesday, 1/25
this code works great in normals browsers without polyfill in a react app.
In this file : intl/locale-data/jsonp/en.js, i've changed the value of (2nd gregory, there are two in this file , don't know why) gregory.days.short from 'Thu' to 'Thursday' and it changes the display to Thuesday, 1/25. I think the 'long' value of weekday option is not taken into account but only the short one.
Any idea ?
The text was updated successfully, but these errors were encountered:
Hi Andy,
In a react native project, i import latest intl (1.2.5) package :
and use it like this :
new Intl.DateTimeFormat('en', { weekday: 'long', day: '2-digit', month: '2-digit' }).format(new Date("2018-01-25T00:00:00"))
but it shows :
Thu, 1/25
instead of
Thuesday, 1/25
this code works great in normals browsers without polyfill in a react app.
In this file : intl/locale-data/jsonp/en.js, i've changed the value of (2nd gregory, there are two in this file , don't know why) gregory.days.short from 'Thu' to 'Thursday' and it changes the display to Thuesday, 1/25. I think the 'long' value of weekday option is not taken into account but only the short one.
Any idea ?
The text was updated successfully, but these errors were encountered: