chronic icon indicating copy to clipboard operation
chronic copied to clipboard

Returning incorrect time

Open DreamsOfImran opened this issue 4 years ago • 1 comments

If I pass an additional decimal value with minutes, it's returning a different time value.

For example:

Chronic.parse("9.458pm")
//returns
2020-10-16 16:38:00 +0530

Someone could please explain the reason behind this output.

DreamsOfImran avatar Oct 16 '20 02:10 DreamsOfImran

What is expected time for this value ?

PurpleCatfish avatar Dec 15 '20 21:12 PurpleCatfish