nullog

running, °o°, tech, life

Javascript dates

Today I once again learned Javascripts getMonth() is off by 1. That is January is month 0 while December is month 11. It took me much longer that it should have to resolved this little ‘bug’ for the journal listing.