any_date
A package for parsing String into DateTime in any format. Easy way to parse a date in any format and in any language, while always respecting ISO and RFC formats.
1.2.2
5.5K downloads/mo
#288 most downloaded on pub.dev
gbassisp/any_date
What this package is like to depend on
Last release 5 months ago
18 Mar 2026
Release timing varies
gaps range from 1 weeks to 7 months
Nearly every release is documented
notes for 27 of 28 stable releases
Nothing withdrawn
no release was ever pulled
3 years old
28 releases · first in 2023
2 releases in the last 12 months
see the full history below
Release timeline
28 releases · Aug 2023 to Mar 2026Releases
latest 28-
1.2.218 Mar 2026 -
1.2.115 Oct 2025 -
1.2.021 Aug 2025 -
1.1.203 Feb 2025 -
1.1.118 Dec 2024 -
1.1.016 Dec 2024 -
1.0.431 Aug 2024Release notes
Open source →- Added support for git non-sense format, e.g.,
Thu May 16 10:18:07 2024 +0930andThu May 16 10:18:07pm 2024 +0930
- Added support for git non-sense format, e.g.,
-
1.0.320 Apr 2024Release notes
Open source →- Merged in
0.1.14:
Added support for non-sense formats; at the moment onlyyyyyMMdd'T'hhmmsswith no separator, including time variants
- Merged in
-
1.0.216 Apr 2024 -
1.0.115 Apr 2024 -
1.0.003 Apr 2024Release notes
Open source →Release notes
Open source →Stable version release
Features
- Supports any type of
Objectfor parsing, such asintfor unix epoch - Allows passing custom parsing rules to
AnyDate(customRules: ...) - Added
AnyDate.fromLocale()factory to support other languages. Essentially, any language can be used
Breaking changes
- Requires
intldependency to support languages other than English
- Supports any type of
-
0.1.1615 Dec 2024Nothing published for this version
-
0.1.1521 Oct 2024 -
0.1.1420 Apr 2024Release notes
Open source →- Added support for non-sense formats; at the moment only
yyyyMMdd'T'hhmmsswith no separator, including time variants
- Added support for non-sense formats; at the moment only
-
0.1.1317 Mar 2024Release notes
Open source →- Added test cases to ensure RFC 822, 2822, 1036, 1123, and 3339 are supported
- Minor fixes to make them supported in edge cases
- Added support for unix epoch timestamp
-
0.1.1207 Mar 2024 -
0.1.1114 Dec 2023 -
0.1.1024 Nov 2023 -
0.1.910 Sep 2023Release notes
Open source →- Fix ambiguous parsing of
aa/bb/ccformat (e.g 01/02/03 that can be parsed as 2001-02-03, 2003-01-02, or 2003-02-01)
- Fix ambiguous parsing of
-
0.1.806 Sep 2023 -
0.1.704 Sep 2023 -
0.1.628 Aug 2023 -
0.1.528 Aug 2023 -
0.1.428 Aug 2023 -
0.1.327 Aug 2023 -
0.1.227 Aug 2023 -
0.1.124 Aug 2023 -
0.1.024 Aug 2023