added format checks for weeks