dateparser icon indicating copy to clipboard operation
dateparser copied to clipboard

dateparser is a smart and high-performance date parser library, it supports hundreds of different formats, nearly all format that we may used. And this is also a showcase for "retree" algorithm.

Results 14 dateparser issues
Sort by recently updated
recently updated
newest added

Could you add support for `zoneName`? https://github.com/sisyphsu/dateparser/blob/master/src/main/java/com/github/sisyphsu/dateparser/DateParser.java#L207 For example `EEE MMM dd HH:mm:ss z yyyy` would match `Sun Feb 23 22:34:30 EST 2020`

help wanted

Hi, In Slovenia date format is "d. M. yyyy" (Example: "13. 4. 2022") and the problem is that this dateParser can't parse it: Exception in thread "main" java.time.format.DateTimeParseException: Text 12....

A rather unfortunate [backwards-incompatible Java update](https://stackoverflow.com/questions/69267710/septembers-short-form-sep-no-longer-parses-in-java-17-in-en-gb-locale) has highlighted the need for more flexible date parsing, and your library looked pretty good... Unfortunately my data, created in a different environment, includes...

I was wondering if there is an option to improve the performance even further when parsing many strings that are all in the same format. My use-case is parsing timestamps...

enhancement
help wanted

Hi, public static void main(String[] args) { final DateParser dp = DateParser.newBuilder().build(); final String date = "2020-06-08T13:45:05-00:00"; System.out.println(dp.parseDate(date).toString()); System.out.println(dp.parseDateTime(date).toString()); System.out.println(dp.parseOffsetDateTime(date).toString()); } The code above gives me the results: Mon Jun...

Hi, I would like to be able to get the date format from a string. For example, one could add a getFormatPattern method to get a format string that can...

We have a use case where we need to get all possible combinations of date in case the format is non deterministic. For example, 3/4/2023 where parser won't know which...

We would like to use the default timezone of UTC in case timezone is not present. However, the parser doesn't allow overriding the timezone and takes the system default instead

Lombok is required at compile time only. The dependency should be configured as `provided`. See the documentation here: https://projectlombok.org/setup/maven

For a specific usecase, I needed to parse a date of format `yyyy-mm-dd` where each component might be prefixed by a zero I am trying to write a custom parser...