fs: fix time conversion