Fixing small bag with time conversion in utils.js