datetime style fix