PackageTrack
Sign in Get early access

const_date_time

A drop-in replacement for Dart's DateTime class with const constructors.

1.2.1 7.8K downloads/mo #3285 most downloaded on pub.dev westy92/const-date-time

What this package is like to depend on

Last release 2 years ago

no release in 18 months

Release timing varies

gaps range from 2 months to 1.2 years

Nearly every release is documented

notes for 8 of 8 stable releases

Nothing withdrawn

no release was ever pulled

4 years old

8 releases · first in 2022

0 releases in the last 12 months

see the full history below

Release timeline

8 releases · Oct 2022 to Dec 2024
2023 2024 2025 2026
Release Pre-release

Releases

latest 8
  1. 1.2.1 28 Dec 2024
    Release notes
    • Export toConstDateTime().
    Open source →
    Release notes
    • Export toConstDateTime().
    Open source →
  2. 1.2.0 28 Dec 2024
    Release notes
    • Add DateTime extension to convert to ConstDateTime. (#14, thanks @jttuboi!)
    Open source →
    Release notes
    • Add DateTime extension to convert to ConstDateTime. (#14, thanks @jttuboi!)
    Open source →
  3. 1.1.0 01 Nov 2023
    Release notes

    Overrides runtimeType. (#10, thanks @ohitsdaniel!)

    Open source →
    Release notes
    • Overrides runtimeType. (#10, thanks @ohitsdaniel!)
    Open source →
  4. 1.0.4 30 Oct 2023
    Release notes

    Add toString(). (#8, thanks @ohitsdaniel!)

    Open source →
    Release notes
    • Add toString(). (#8, thanks @ohitsdaniel!)
    Open source →
  5. 1.0.3 13 Sep 2023
    Release notes
    • Add topics to pubspec.yaml.
    Open source →
    Release notes
    • Add topics to pubspec.yaml.
    Open source →
  6. 1.0.2 18 Dec 2022
    Release notes
    • Fix important documentation issue.
    Open source →
    Release notes
    • Fix important documentation issue.
    Open source →
  7. 1.0.1 18 Dec 2022
    Release notes
    • Fix DateTime.difference on flutter Web. (#6, thanks @ipcjs!)
    Open source →
    Release notes
    • Fix DateTime.difference on flutter Web. (#6, thanks @ipcjs!)
    Open source →
  8. 1.0.0 28 Oct 2022
    Release notes
    • Initial release.
    Open source →
    Release notes
    • Initial release.
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive