Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Time is a Social Construct
Search
Daniel Cousineau
August 14, 2019
Programming
1
470
Time is a Social Construct
Given at BrooklynJS, ManhattanJS, and JSConf 2019
https://www.youtube.com/watch?v=EUzPpXhFmG8
Daniel Cousineau
August 14, 2019
Tweet
Share
More Decks by Daniel Cousineau
See All by Daniel Cousineau
React @ Scale
dcousineau
0
130
Frontend Performance & You
dcousineau
0
210
Feature Flags & You
dcousineau
2
80
React+Redux @ Scale
dcousineau
1
300
Reframing The Problem - DCJS July 2016
dcousineau
0
110
YAFT
dcousineau
2
150
Queues and the beanstalkd
dcousineau
1
620
How Not Writing PHP Makes You Better At PHP
dcousineau
0
360
JavaScript for PHP Developers
dcousineau
4
660
Other Decks in Programming
See All in Programming
テストコード書いてみませんか?
onopon
2
340
traP の部内 ISUCON とそれを支えるポータル / PISCON Portal
ikura_hamu
0
180
責務を分離するための例外設計 - PHPカンファレンス 2024
kajitack
9
2.3k
DevinとCursorから学ぶAIエージェントメモリーの設計とMoatの考え方
itarutomy
0
120
Запуск 1С:УХ в крупном энтерпрайзе: мечта и реальность ПМа
lamodatech
0
940
AWS re:Invent 2024個人的まとめ
satoshi256kbyte
0
100
KMP와 kotlinx.rpc로 서버와 클라이언트 동기화
kwakeuijin
0
290
asdf-ecspresso作って 友達が増えた話 / Fujiwara Tech Conference 2025
koluku
0
1.3k
PHPとAPI Platformで作る本格的なWeb APIアプリケーション(入門編) / phpcon 2024 Intro to API Platform
ttskch
0
390
watsonx.ai Dojo #6 継続的なAIアプリ開発と展開
oniak3ibm
PRO
0
170
PicoRubyと暮らす、シェアハウスハック
ryosk7
0
200
EC2からECSへ 念願のコンテナ移行と巨大レガシーPHPアプリケーションの再構築
sumiyae
3
580
Featured
See All Featured
RailsConf 2023
tenderlove
29
970
Facilitating Awesome Meetings
lara
51
6.2k
Keith and Marios Guide to Fast Websites
keithpitt
410
22k
Optimising Largest Contentful Paint
csswizardry
33
3k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
33
2.7k
StorybookのUI Testing Handbookを読んだ
zakiyama
28
5.4k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
33
2k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
365
25k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
Side Projects
sachag
452
42k
Code Reviewing Like a Champion
maltzj
521
39k
We Have a Design System, Now What?
morganepeng
51
7.3k
Transcript
@dcousineau TIME IS A SOCIAL CONSTRUCT
@dcousineau SOCIAL CONSTRUCTS ARE GARBAGE
@dcousineau TIME IS GARBAGE
@dcousineau @dcousineau IS GARBAGE he/him
@dcousineau
@dcousineau
@dcousineau
@dcousineau
@dcousineau
@dcousineau
@dcousineau @dcousineau
@dcousineau 12pm Aug 15th, 2019
@dcousineau @dcousineau
@dcousineau @dcousineau
@dcousineau @dcousineau
@dcousineau @dcousineau
@dcousineau @dcousineau
@dcousineau @dcousineau
@dcousineau @dcousineau
@dcousineau @dcousineau
@dcousineau
@dcousineau @dcousineau
@dcousineau @dcousineau
@dcousineau @dcousineau
@dcousineau 12pm Aug 15th, 2019 UTC-0400
@dcousineau
@dcousineau 2019-08-15T12:00:00-0400
@dcousineau
@dcousineau
@dcousineau
@dcousineau
@dcousineau
@dcousineau
@dcousineau @dcousineau
@dcousineau
@dcousineau 2019-08-15T16:00:00Z
@dcousineau @dcousineau
@dcousineau @dcousineau
@dcousineau Daylight Savings Time @dcousineau
@dcousineau Sun, Mar 10 @ 2am to Sun, Nov 3
@ 2am
@dcousineau 2019-08-15T16:00:00Z 2019-11-04T16:00:00Z 12pm in New York 11am in New
York
@dcousineau
@dcousineau
@dcousineau Arizona is in the Mountain Timezone and does not
observe daylight savings time except in the Navajo Indian Nation.
@dcousineau
@dcousineau Standard DST
@dcousineau 2019-03-10T02:01:00-07:00 “Fun” Fact Quiz
@dcousineau 2019-03-10T02:01:00-07:00 “Fun” Fact Quiz
@dcousineau
@dcousineau @dcousineau
@dcousineau
@dcousineau @dcousineau
@dcousineau
@dcousineau @dcousineau
@dcousineau
@dcousineau
@dcousineau America/New_York EST America/Chicago CST America/Denver MST America/Phoenix MST …
@dcousineau America/Indiana/Indianapolis America/Indiana/Knox America/Indiana/Marengo America/Indiana/Petersburg America/Indiana/Tell_City America/Indiana/Vevay America/Indiana/Vincennes America/Indiana/Winamac
@dcousineau Maybe Wikipedia can help…
@dcousineau
@dcousineau
@dcousineau 1918–1961
@dcousineau 1961–1967
@dcousineau 1967–1977
@dcousineau 1977–1991
@dcousineau 1991–2006
@dcousineau 2006–March 2007
@dcousineau March 2007–November 2007
@dcousineau November 2007–Today
@dcousineau America/New_York: Dearborn & Ohio America/Chicago: Jasper, Lake, LaPorte, Newton,
Porter, Gibson, Posey, Spencer, Vanderburgh, & Warrick America/Kentucky/Louisville: Clark, Floyd, & Harrison Counties in Indiana NOT on America/Indiana/*
@dcousineau 2019-08-15T12:00:00-0400 America/New_York
@dcousineau
@dcousineau So… did we learn anything?
@dcousineau Treat time as if it is irreducibly complex.
@dcousineau Time is a question of where almost as much
as it’s when.
@dcousineau Treat UTC like it’s merely a synchronization and conversion
aid.
@dcousineau Always preserve presented offsets / timezones. Only clone &
convert into UTC if storage requires.
@dcousineau Use ISO-8601 in transit & let the browser handle
the rest. Treat it like a11y, give the browser / user control.
@dcousineau Be explicit about context with your user. If this
is confusing for you, it’s worse for them.
@dcousineau USE A LIBRARY! Especially for simple arithmetic. date-fns, moment.js,
Luxon
@dcousineau When all else fails, just move to Florida. ☀
@dcousineau fin.