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, duration hours minute second in high quality that is uploaded to the channel Fireship 17 March 2022. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 375,531 times and liked it 22 thousand visitors.