fix(util/time): fix bug in date conversion