Keeping track of time is complicated for programmers due to leap seconds, timezones, and the weirdly designed Gregorian calendar. A new bill is going through congress to make daylight savings time permanent - here's what that could mean for developers.
#compsci #programming #TheCodeReport
🔗 Resources
Daylight Savings Bill https://www.reuters.com/world/us/us-s...
Try the Temporal API https://tc39.es/proposal-temporal/docs/
Why JS Dates Suck https://maggiepint.com/2017/04/09/fix...
🔥 Get More Content - Upgrade to PRO
Upgrade to Fireship PRO at https://fireship.io/pro
Use code lORhwXd2 for 25% off your first payment.
🎨 My Editor Settings
- Atom One Dark
- vscode-icons
- Fira Code Font
🔖 Topics Covered
- How do timezones work?
- What is a 13 month calendar?
- What is the Gregorian calendar?
- Timezones explained for programmers
- How to use JavaScript Temporal API
- What are the most hated features in JavaScript?
Watch video Time… a programmer's worst enemy // The Code Report online without registration, duration hours minute second in high quality. This video was added by user Fireship 17 March 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 375,531 once and liked it 22 thousand people.