Fixed EJS date rendering