mirror of
https://github.com/basecamp/once-campfire.git
synced 2026-03-13 13:45:16 +09:00
3 lines
127 B
Ruby
3 lines
127 B
Ruby
# Used to match JavaScripts (new Date).getTime() for sorting
|
|
Time::DATE_FORMATS[:epoch] = ->(time) { (time.to_f * 1000).to_i }
|