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
430
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
110
Frontend Performance & You
dcousineau
0
190
Feature Flags & You
dcousineau
2
77
React+Redux @ Scale
dcousineau
1
300
Reframing The Problem - DCJS July 2016
dcousineau
0
110
YAFT
dcousineau
2
140
Queues and the beanstalkd
dcousineau
1
590
How Not Writing PHP Makes You Better At PHP
dcousineau
0
350
JavaScript for PHP Developers
dcousineau
4
630
Other Decks in Programming
See All in Programming
Rubyのobject_id
qnighy
6
1.3k
1人で挑むSwiftコンパイラ 〜型システム入門編〜
s_shimotori
0
340
いつか使える ObjectSpace / Maybe useful ObjectSpace
euglena1215
2
130
2024 컴포즈 정원사
jisungbin
0
150
ECMAScript、Web標準の型はどう管理されているか / How ECMAScript and Web standards types are maintained
petamoriken
3
390
LangChainでWebサイトの内容取得やGitHubソースコード取得
shukob
0
160
Go1.23で入った errorsパッケージの小さなアプデ
kuro_kurorrr
2
370
令和トラベルにおけるLLM活用事例:社内ツール開発から得た学びと実践
ippo012
0
130
エラーレスポンス設計から考える、0→1開発におけるGraphQLへの向き合い方
bicstone
5
1.5k
Ruby Parser progress report 2024
yui_knk
2
220
Amazon Neptuneで始める初めてのグラフDB ー グラフDBを使う意味を考える ー
satoshi256kbyte
2
260
AndroidアプリのUIバリエーションをあの手この手で確認する / Check UI variations of Android apps by various means
tkmnzm
1
130
Featured
See All Featured
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
38
9.2k
Designing for humans not robots
tammielis
248
25k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
25
3.9k
The Invisible Customer
myddelton
119
13k
What's new in Ruby 2.0
geeforr
340
31k
Music & Morning Musume
bryan
46
6k
Building Better People: How to give real-time feedback that sticks.
wjessup
359
18k
Producing Creativity
orderedlist
PRO
340
39k
Learning to Love Humans: Emotional Interface Design
aarron
270
40k
The Cost Of JavaScript in 2023
addyosmani
42
5.5k
How to Think Like a Performance Engineer
csswizardry
16
950
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
103
48k
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.