strange issues with date time