easy_date_time 0.3.1 copy "easy_date_time: ^0.3.1" to clipboard
easy_date_time: ^0.3.1 copied to clipboard

A drop-in replacement for DateTime with full IANA timezone support, intuitive arithmetic, and flexible formatting.

Changelog #

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

0.3.1 - 2025-12-11 #

Changed #

  • Updated package topics in pubspec.yaml.
  • Updated multilingual READMEs dependencies to ^0.3.1.

Fixed #

  • Updated example documentation to use latest APIs.

0.3.0 - 2025-12-10 #

Added #

  • Date Formatting API: New format(String pattern) method for flexible date/time formatting
    • Supports tokens: yyyy, yy, MM, M, dd, d, HH, H, hh, h, mm, m, ss, s, SSS, S, a
    • Supports escaped literal text using single quotes
    • Works correctly with all timezones including DST transitions
  • DateTimeFormats: Predefined format constants for common patterns
    • isoDate (yyyy-MM-dd)
    • isoTime (HH:mm:ss)
    • isoDateTime (yyyy-MM-ddTHH:mm:ss)
    • usDate (MM/dd/yyyy)
    • euDate (dd/MM/yyyy)
    • asianDate (yyyy/MM/dd)
    • time12Hour (hh:mm a)
    • time24Hour (HH:mm)
    • fullDateTime (yyyy-MM-dd HH:mm:ss)
    • fullDateTime12Hour (yyyy-MM-dd hh:mm:ss a)

0.2.2 - 2025-12-09 #

Fixed #

  • Fixed formatting in CHANGELOG.md.
  • Updated documentation installation instructions to latest version.

0.2.1 - 2025-12-09 #

Fixed #

  • Updated example code to use fromIso8601String instead of removed APIs.

Changed #

  • Standardized documentation tone and navigation across all languages.
  • Added CI validation for example code.

0.2.0 - 2025-12-08 #

⚠️ Breaking Changes #

  • Renamed inUtc()toUtc() — Consistent with DateTime.toUtc()
  • Renamed inLocalTime()toLocal() — Consistent with DateTime.toLocal()
  • Renamed isAtSameMoment()isAtSameMomentAs() — Consistent with DateTime.isAtSameMomentAs()
  • Removed fromJson() and toJson() — Use fromIso8601String() and toIso8601String() instead

Added #

  • fromSecondsSinceEpoch(int seconds, {Location? location}) — Factory for Unix timestamps in seconds
  • fromIso8601String(String dateTimeString) — Explicit factory for ISO 8601 strings

Changed #

  • Modularized codebase: split easy_date_time.dart into easy_date_time_parsing.dart and easy_date_time_utilities.dart
  • Improved documentation and code comments

0.1.2 - 2025-12-07 #

  • Update READMEs.

0.1.1 - 2025-12-07 #

  • Initial release of easy_date_time package.
3
likes
0
points
1.14k
downloads

Publisher

unverified uploader

Weekly Downloads

A drop-in replacement for DateTime with full IANA timezone support, intuitive arithmetic, and flexible formatting.

Repository (GitHub)
View/report issues

Topics

#datetime #timezone #calendar #formatting #utils

Documentation

Documentation

License

unknown (license)

Dependencies

timezone

More

Packages that depend on easy_date_time