Fix rendering date