Fix ymd_jiffy function for linux platform.