optimized dateWidget template