Changes for version v0.5.0 - 2026-04-16

  • Added the method resolve_abbreviation() in DateTime::Lite::TimeZone
  • Corrected method _nearest_zone() to use $class instead of $self
  • Implemented a check for the availability of SQLite math functions (SQLite version >= 3.35.0; March 2021)
  • Added a private method, _dbh_add_user_defined_functions(), to add the missing math functions with User Defined Functions if missing. _dbh_add_user_defined_functions() is only called by relevant methods, so those math functions are added only when necessary.

Documentation

Compare DateTime and DateTime::Lite performance
Build the DateTime::Lite::TimeZone SQLite database
Generate leap_seconds.h for DateTime::Lite XS

Modules

Lightweight, low-dependency drop-in replacement for DateTime
Duration objects for use with DateTime::Lite
Exception object for DateTime::Lite
Infinite past and future DateTime::Lite objects
Pure-Perl fallback for the DateTime::Lite XS layer
Lightweight timezone support for DateTime::Lite

Provides

in lib/DateTime/Lite/Infinite.pm
in lib/DateTime/Lite/Infinite.pm
in lib/DateTime/Lite/Infinite.pm
in lib/DateTime/Lite.pm