chrono icon indicating copy to clipboard operation
chrono copied to clipboard

Example from documentation (17 August 2013 - 19 August 2013) doesn't work

Open Aryk opened this issue 4 years ago • 2 comments

"17 August 2013 - 19 August 2013" is being parsed as "3 - 19 August 2013"

was this intended? Probably best to remove it from the README.md if it doesn't actually work.

version : 2.3.1

Aryk avatar Sep 05 '21 19:09 Aryk

Hello. Sorry for my slow reply.

I could not reproduce the issue. (Check the test I added: a6631ed)

Could you please check if you really use version 2.3.1? Or could you please show me more of your input?

wanasit avatar Sep 25 '21 01:09 wanasit

@wanasit

Hello. Sorry for my slow reply.

I could not reproduce the issue. (Check the test I added: a6631ed)

Could you please check if you really use version 2.3.1? Or could you please show me more of your input?

I encountered a similar problem when migrating zh-hant. If there is no space between -, -19 will be regarded as timezone offset. But in fact, this kind of grammar will only appear in ISO 8601, and will not appear in general conversations.

DingWeizhe avatar Dec 12 '21 13:12 DingWeizhe