{"id":325,"date":"2009-01-07T14:51:28","date_gmt":"2009-01-07T12:51:28","guid":{"rendered":"http:\/\/www.lucas-nussbaum.net\/blog\/?p=325"},"modified":"2009-01-07T14:51:28","modified_gmt":"2009-01-07T12:51:28","slug":"datetime-anecdotes","status":"publish","type":"post","link":"https:\/\/www.lucas-nussbaum.net\/blog\/?p=325","title":{"rendered":"Date\/time anecdotes"},"content":{"rendered":"<p>If you don&#8217;t know that leap years don&#8217;t always happen every 4 years, you really should read about <a href=\"http:\/\/en.wikipedia.org\/wiki\/Calendar_reform#Julian.2FGregorian_reforms\">the switch from the Julian to the Gregorian calendar<\/a>. <a href=\"http:\/\/www.postgresql.org\/docs\/8.3\/static\/datetime-units-history.html\">PostgreSQL&#8217;s documentation<\/a> on the topic is also interesting, as well as the output of <code>ncal -p<\/code>.<\/p>\n<p>On a related subject, the insertion of a <a href=\"http:\/\/en.wikipedia.org\/wiki\/Leap_second\">leap second<\/a> triggered a few interesting blog posts from Dave Jones (<a href=\"http:\/\/www.codemonkey.org.uk\/2008\/12\/31\/leap-seconds\/\">1<\/a>, <a href=\"http:\/\/www.codemonkey.org.uk\/2008\/12\/31\/leap-seconds-2\/\">2<\/a>, <a href=\"http:\/\/www.codemonkey.org.uk\/2009\/01\/01\/post-leap-seconds\/\">3<\/a>), and also a Linux bug, <a href=\"http:\/\/ask.slashdot.org\/askslashdot\/09\/01\/01\/1930202.shtml\">reported on slashdot<\/a>, and <a href=\"http:\/\/lkml.org\/lkml\/2009\/1\/2\/276\">already fixed<\/a>.<\/p>\n<p>(Yes, that post was mostly an I-need-to-bookmark-this post.)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you don&#8217;t know that leap years don&#8217;t always happen every 4 years, you really should read about the switch from the Julian to the Gregorian calendar. PostgreSQL&#8217;s documentation on the topic is also interesting, as well as the output of ncal -p. On a related subject, the insertion of a leap second triggered a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"0","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13,12],"tags":[],"class_list":["post-325","post","type-post","status-publish","format-standard","hentry","category-planetdebian","category-planetubuntu"],"_links":{"self":[{"href":"https:\/\/www.lucas-nussbaum.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/325","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.lucas-nussbaum.net\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.lucas-nussbaum.net\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.lucas-nussbaum.net\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.lucas-nussbaum.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=325"}],"version-history":[{"count":0,"href":"https:\/\/www.lucas-nussbaum.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/325\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.lucas-nussbaum.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=325"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.lucas-nussbaum.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=325"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.lucas-nussbaum.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=325"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}