Skip to content

Instantly share code, notes, and snippets.

View mikkovedru's full-sized avatar

Mikko Vedru mikkovedru

View GitHub Profile
timvisee /
Last active September 25, 2023 19:53
Falsehoods programmers believe about time, in a single list

Falsehoods programmers believe about time

This is a compiled list of falsehoods programmers tend to believe about working with time.

Don't re-invent a date time library yourself. If you think you understand everything about time, you're probably doing it wrong.


  • There are always 24 hours in a day.
  • February is always 28 days long.
  • Any 24-hour period will always begin and end in the same day (or week, or month).
rstacruz /
Last active April 12, 2023 08:55
Rails models cheatsheet