Time is a Social Construct

Time is a Social Construct

Given at BrooklynJS, ManhattanJS, and JSConf 2019

https://www.youtube.com/watch?v=EUzPpXhFmG8

6696617169722009ed1ec8c52496c6da?s=128

Daniel Cousineau

August 14, 2019
Tweet

Transcript

  1. @dcousineau TIME IS A SOCIAL CONSTRUCT

  2. @dcousineau SOCIAL CONSTRUCTS ARE GARBAGE

  3. @dcousineau TIME IS GARBAGE

  4. @dcousineau @dcousineau IS GARBAGE he/him

  5. @dcousineau

  6. @dcousineau

  7. @dcousineau

  8. @dcousineau

  9. @dcousineau

  10. @dcousineau

  11. @dcousineau @dcousineau

  12. @dcousineau 12pm Aug 15th, 2019

  13. @dcousineau @dcousineau

  14. @dcousineau @dcousineau

  15. @dcousineau @dcousineau

  16. @dcousineau @dcousineau

  17. @dcousineau @dcousineau

  18. @dcousineau @dcousineau

  19. @dcousineau @dcousineau

  20. @dcousineau @dcousineau

  21. @dcousineau

  22. @dcousineau @dcousineau

  23. @dcousineau @dcousineau

  24. @dcousineau @dcousineau

  25. @dcousineau 12pm Aug 15th, 2019 UTC-0400

  26. @dcousineau

  27. @dcousineau 2019-08-15T12:00:00-0400

  28. @dcousineau

  29. @dcousineau

  30. @dcousineau

  31. @dcousineau

  32. @dcousineau

  33. @dcousineau

  34. @dcousineau @dcousineau

  35. @dcousineau

  36. @dcousineau 2019-08-15T16:00:00Z

  37. @dcousineau @dcousineau

  38. @dcousineau @dcousineau

  39. @dcousineau Daylight Savings Time @dcousineau

  40. @dcousineau Sun, Mar 10 @ 2am to Sun, Nov 3

    @ 2am
  41. @dcousineau 2019-08-15T16:00:00Z 2019-11-04T16:00:00Z 12pm in New York 11am in New

    York
  42. @dcousineau

  43. @dcousineau

  44. @dcousineau Arizona is in the Mountain Timezone and does not

    observe daylight savings time except in the Navajo Indian Nation.
  45. @dcousineau

  46. @dcousineau Standard DST

  47. @dcousineau 2019-03-10T02:01:00-07:00 “Fun” Fact Quiz

  48. @dcousineau 2019-03-10T02:01:00-07:00 “Fun” Fact Quiz

  49. @dcousineau

  50. @dcousineau @dcousineau

  51. @dcousineau

  52. @dcousineau @dcousineau

  53. @dcousineau

  54. @dcousineau @dcousineau

  55. @dcousineau

  56. @dcousineau

  57. @dcousineau America/New_York EST America/Chicago CST America/Denver MST America/Phoenix MST …

  58. @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

  59. @dcousineau Maybe Wikipedia can help…

  60. @dcousineau

  61. @dcousineau

  62. @dcousineau 1918–1961

  63. @dcousineau 1961–1967

  64. @dcousineau 1967–1977

  65. @dcousineau 1977–1991

  66. @dcousineau 1991–2006

  67. @dcousineau 2006–March 2007

  68. @dcousineau March 2007–November 2007

  69. @dcousineau November 2007–Today

  70. @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/*
  71. @dcousineau 2019-08-15T12:00:00-0400 America/New_York

  72. @dcousineau

  73. @dcousineau So… did we learn anything?

  74. @dcousineau Treat time as if it is irreducibly complex.

  75. @dcousineau Time is a question of where almost as much

    as it’s when.
  76. @dcousineau Treat UTC like it’s merely a synchronization and conversion

    aid.
  77. @dcousineau Always preserve presented offsets / timezones. Only clone &

    convert into UTC if storage requires.
  78. @dcousineau Use ISO-8601 in transit & let the browser handle

    the rest. Treat it like a11y, give the browser / user control.
  79. @dcousineau Be explicit about context with your user. If this

    is confusing for you, it’s worse for them.
  80. @dcousineau USE A LIBRARY! Especially for simple arithmetic. date-fns, moment.js,

    Luxon
  81. @dcousineau When all else fails, just move to Florida. ☀

  82. @dcousineau fin.