chrono icon indicating copy to clipboard operation
chrono copied to clipboard

A natural language date parser in Javascript

Results 134 chrono issues
Sort by recently updated
recently updated
newest added

It is interesting to support the Posix standard as one of the formats compatible with the parser.

enhancement

tomorrow morning at 8am in Chinese is: `明天早上 8 点` ([ref](https://translate.google.com/?sl=auto&tl=zh-CN&text=tomorrow%20morning%20at%208am&op=translate)) This returns the wrong time (always returns 6am in the morning, no matter what the hour is). To reproduce:...

This format used in nginx access logs ($time_local). Local time in the Common Log Format; Example: ```js //.. chrono.parseDate("06/Nov/2023:06:36:02 +0200") // output: Mon Nov 06 2023 12:00:00 GMT+0000 (Western European...

My use case is that I would like to set a specific time in JST, but the computer might be located in a different timezone. (I simulate this during testing...

I would like to contribute for Norwegian (Norsk Bokmål) support.

It is not clear to me from README whether en.GB parser is supposed to be fully featured or not. My use case is that I want to parse dates in...

# Package.json Structure Update The current structure [specified](https://github.com/wanasit/chrono/blob/f00e9ef6115725aa1e028e21fffb8a1b013a6092/package.json#L25C1-L25C1) in the [package.json](https://github.com/wanasit/chrono/blob/master/package.json) file of `chrono-node` includes a configuration that seems to be causing confusion and potential issues. ```json "exports": { ".":...

bug

## Abstract If the current time is `1:57 AM`, passing `"1am"` with `forwardDate: true` results in date referencing `1am` on the _current date._ Instead, since `1:00 AM` has already passed...

Hi, I'm trying to create a PR for a minor improvement for the Dutch language. Unfortunately I cannot create a commit because Husky won't let me. Husky won't let me...

Giving the error: `SyntaxError: Invalid RegExp: Invalid escape, js engine: hermes` when parsing simple string: ``` let prompt = '2 hours'; let eventDate = chrono.parseDate(prompt); console.log(eventDate); ``` Using latest react-native:...