Changes for version v0.7.3 - 2026-06-03
- Improvement
- Method from_object() now preserves the source object's time zone and formatter when constructing the new DateTime::Lite instance. Previously, these attributes were lost during conversion, which forced callers to re-apply them manually. This makes from_object() safe to use as a drop-in converter from DateTime to DateTime::Lite.
- Method set_formatter() now validates that the provided argument is a formatter object implementing the format_datetime() method, returning an error otherwise. Passing undef remains supported and clears the formatter.
Documentation
DateTime::Liteで使用する期間オブジェクト
DateTime::Lite用の例外オブジェクト
DateTime::Liteの無限過去および無限未来オブジェクト
DateTimeの軽量かつ依存関係の少ないドロップイン代替モジュール
DateTime::LiteのXS層のPure-Perlフォールバック
DateTime::Liteのための軽量なタイムゾーンサポート
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