fix datetime format output more friendly