Fix datetime views