This repository has been archived by the owner on Jul 10, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 41
Rounding of in the diff is causing a half a day loss #52
Comments
himanshuara
pushed a commit
to himanshuara/intl-relativeformat
that referenced
this issue
Sep 11, 2017
himanshuara
pushed a commit
to himanshuara/react-intl
that referenced
this issue
Sep 11, 2017
himanshuara
pushed a commit
to himanshuara/react-intl
that referenced
this issue
Sep 11, 2017
himanshuara
pushed a commit
to himanshuara/intl-relativeformat
that referenced
this issue
Sep 11, 2017
fracmak
added a commit
to fracmak/intl-relativeformat
that referenced
this issue
Oct 27, 2017
fracmak
added a commit
to fracmak/intl-relativeformat
that referenced
this issue
Oct 27, 2017
fixed in latest intl-relativeformat |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
We are using react-intl intensively for internationalization. React-intl is internally using intl-relativeformat for calculating 'today' and 'yesterday'.
Intl-relativeformate incorrectly shows 'today' even if the datetime send to it was from yesterday for the following times.
The code that I am talking about is:
The issue can be easily solved by replacing the code with the below code
Regards
Arsh
The text was updated successfully, but these errors were encountered: