Comparison

Time zone pitfalls in scheduled bot messages

Store UTC, display local, watch DST.

Comparison1 min readUpdated

Store schedule instants in UTC. Convert to the user or guild timezone only at display or fire time. DST gaps and overlaps need an explicit policy (skip, shift, fire twice).

Checklist

  • Store UTC in the database
  • Use IANA timezone names, not fixed offsets alone
  • Test a spring-forward and fall-back date
  • Document what happens at 02:30 on DST nights

Frequently asked questions

Is this exhaustive?

No. It is a practical starting point; verify details in official docs before production.

Related comparisons and tools