simplify parsing UNIX time and more importantly, account for JS's off-by-one months