Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pixeltrix
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
2 ms
·
1.
▲
by
pixeltrix
11y ago
Sorry, don't like to be absolutist - updated the gist to clarify that you should use Time because of it's greater support for timezones, DST, etc.
2.
▲
by
pixeltrix
11y ago
Nope, Time handles all those things better since Ruby 1.8.7/1.9.3 when it gained support date/times into the far future. Until then it was liable to the Year 2038 problem: http://en.wikipedia.org/wiki/Year_203