@justinmk maybe `localtime` doesn't return NULL when number of seconds is invalid. :-)