fix bug where Date header was incorrectly formatted as week-based year