Last active
August 29, 2015 14:23
-
-
Save Ekhoo/a59a295dcabf2876c75e to your computer and use it in GitHub Desktop.
FormattedTime isomorphic issue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
With the `fr-FR` locale, I have a format issue with the `<FormattedTime />` component. | |
If I have a date like this one: `2015-06-17T06:00:00+0000`: | |
Server rendering => `8:00` | |
Client rendering => `08:00` | |
I use this format: | |
var formats = { | |
time: { | |
hhmm: { | |
hour: 'numeric', | |
minute: 'numeric' | |
} | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment