fix for date-time component