add exceptions for hour & minute in Intl.RelativeTimeFormat numeric auto (#2191)

This commit is contained in:
Long Ho 2019-06-19 15:34:24 -04:00 committed by Leo Balter
parent 395401cba0
commit 6fd738d396
1 changed files with 6 additions and 0 deletions

View File

@ -50,6 +50,12 @@ const exceptions = {
"0": "today",
"1": "tomorrow",
},
"hour": {
'0': 'this hour'
},
"minute": {
'0': 'this minute'
},
"second": {
"-1": "1 second ago",
"0": "now",