Updated date time format and fixed time_in plugin