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
450
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
200
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
610
How Not Writing PHP Makes You Better At PHP
dcousineau
0
360
JavaScript for PHP Developers
dcousineau
4
640
Other Decks in Programming
See All in Programming
Ethereum_.pdf
nekomatu
0
460
2024/11/8 関西Kaggler会 2024 #3 / Kaggle Kernel で Gemma 2 × vLLM を動かす。
kohecchi
5
910
3rd party scriptでもReactを使いたい! Preact + Reactのハイブリッド開発
righttouch
PRO
1
600
Click-free releases & the making of a CLI app
oheyadam
2
110
アジャイルを支えるテストアーキテクチャ設計/Test Architecting for Agile
goyoki
9
3.3k
광고 소재 심사 과정에 AI를 도입하여 광고 서비스 생산성 향상시키기
kakao
PRO
0
170
CSC509 Lecture 12
javiergs
PRO
0
160
A Journey of Contribution and Collaboration in Open Source
ivargrimstad
0
890
型付き API リクエストを実現するいくつかの手法とその選択 / Typed API Request
euxn23
8
2.2k
PHP でアセンブリ言語のように書く技術
memory1994
PRO
1
170
Snowflake x dbtで作るセキュアでアジャイルなデータ基盤
tsoshiro
2
520
Contemporary Test Cases
maaretp
0
130
Featured
See All Featured
Designing for humans not robots
tammielis
250
25k
We Have a Design System, Now What?
morganepeng
50
7.2k
Making the Leap to Tech Lead
cromwellryan
133
8.9k
GitHub's CSS Performance
jonrohan
1030
460k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
229
52k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
27
4.3k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
10 Git Anti Patterns You Should be Aware of
lemiorhan
654
59k
Building Better People: How to give real-time feedback that sticks.
wjessup
364
19k
Gamification - CAS2011
davidbonilla
80
5k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
33
1.9k
It's Worth the Effort
3n
183
27k
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.