fixed format of date and time in rule view