Skip to content

Instantly share code, notes, and snippets.

window.CEPHAS = {
init: function(){
this.autoRefresh(10000);
this.statusUpdate();
this.simonizer();
},
/*
@coffeemug
coffeemug / gist:6168031
Last active June 5, 2026 15:29
The fun of implementing date support
After spending the better part of the month implementing date support
in RethinkDB, Mike Lucy sent the team the following e-mail. It would
have been funny, if it didn't cause thousands of programmers so much
pain. Read it, laugh, and weep!
-----
So, it turns out that we're only going to support dates between the
year 1400 and the year 10000 (inclusive), because that's what boost
supports.