Changelog
All notable changes to Vali-TimeZone are documented here. Follows Keep a Changelog and Semantic Versioning.
[1.1.0] — 2026-10-14
Changed
ValiZoneInfois now asealed record(previously asealed class) — adds structural equality;ToString()format is unchanged.- Added the
net10.0target framework. Still pinsVali-Timeat1.0.1— doesn't need any of its new 1.1.0 members.
[1.0.0] — 2025-07-01
Added
ValiZoneInfomodel withId,DisplayName,StandardName,BaseOffset,SupportsDst,CountryCode, andCountryNameproperties.- 45+ curated IANA timezone entries covering Latin America, North America, Europe, Asia, Oceania, and Africa.
ValiTimeZonewith conversion methods:Convert,ConvertOffset,ToUtc,FromUtc,ToDateTimeOffset.- Offset queries:
GetOffset,GetBaseOffset,OffsetDiff. - DST awareness:
IsDst. - Zone discovery:
FindZone,AllZones,ZonesForCountry,IsValidZone. - Current time helpers:
Now,Today. - Comparison and formatting:
IsSameInstant,FormatWithZone. - IANA to Windows timezone identifier fallback for cross-platform compatibility.
AddValiTimeZone()extension method forIServiceCollectionDI registration.