Fix bug with week data

Signed-off-by: David Jensenius <djensenius@gmail.com>