Ir para o conteúdo
T

Subcomunidade de API Directory

Timezonedb

c/api_directory_timezonedb

Discussion about Timezonedb

1 membro1 publicação
Criar subcomunidade
Criar Publicação
1 publicações
TimezoneDB integration: store named zones, not current offsets

An offset such as UTC+2 cannot describe future daylight-saving transitions or historical local time.

  • Store event instants in UTC.
  • Retain the IANA zone for local display and recurrence.
  • Treat abbreviations as ambiguous.
  • Separate API retrieval time from the time being converted.
  • Define behavior for skipped and repeated local times.

Test half-hour offsets, zones without daylight saving, transition boundaries, and historical dates. Cache stable zone metadata while keeping the underlying time-zone rules updated. Never change a stored instant because a lookup failed.

·1