Tag

DST

0 views collected around this technical thread.

Code Mala Tang
Code Mala Tang
Nov 15, 2024 · Frontend Development

Mastering Time Zones in JavaScript: From UTC Storage to DST Detection

Learn how to correctly handle time zones in JavaScript by storing dates in UTC, using the IANA database, detecting daylight saving time, and leveraging built‑in Intl APIs or libraries like Luxon, with practical code examples and best‑practice guidelines.

DSTDateIntl
0 likes · 17 min read
Mastering Time Zones in JavaScript: From UTC Storage to DST Detection
Bilibili Tech
Bilibili Tech
Aug 18, 2023 · Frontend Development

Common Time-Related Bugs and Protection Strategies in Software Development

The article reviews six common time‑related bugs—conversion, DST, precision, comparison, storage, and permission errors—explains their causes such as mismatched zones, outdated DST data, unit mismatches, overflow, and expired windows, and recommends development, testing, and operational safeguards like UTC normalization, unit definitions, proper data types, and monitoring.

DSTfrontendsoftware testing
0 likes · 11 min read
Common Time-Related Bugs and Protection Strategies in Software Development