diff --git a/README.md b/README.md
--- a/README.md
+++ b/README.md
@@ -1,11 +1,9 @@
 # Villefort
 Villefort is a time managment system written in Haskell.
 
-## Version 1.2.7
-- Fixed errors with Versions 1.2.6's core api.
-- Made log github graph reflect actual time on task.
-- removed predicted time field on main page.
-- Started writing tests.
+## Version 1.2.9
+- Fixed corrupted database which will make 1.2.8, 1.2.7 and 1.2.6 not work.
+- Fixed bug in Weekly page date handling.
 
 [default config](https://github.com/Chrisr850/Villefort/blob/master/src/Villefort/Config.hs)
 
diff --git a/Villefort.cabal b/Villefort.cabal
--- a/Villefort.cabal
+++ b/Villefort.cabal
@@ -1,5 +1,5 @@
 name:                Villefort
-version:             0.1.2.8
+version:             0.1.2.9
 synopsis: Villefort is a task manager and time tracker written in haskell.
 description: Villefort is a browser based time tracker.
 homepage:            https://github.com/Chrisr850/Villefort#readme
diff --git a/data/todo.db b/data/todo.db
Binary files a/data/todo.db and b/data/todo.db differ
diff --git a/src/Villefort/Weekly.hs b/src/Villefort/Weekly.hs
--- a/src/Villefort/Weekly.hs
+++ b/src/Villefort/Weekly.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE FlexibleContexts #-}
-module Villefort.Weekly (weeklyStats) where
+module Villefort.Weekly  where
 
 import Control.Monad.Reader
 import Villefort.Definitions
@@ -40,7 +40,7 @@
 fromZonedTimeToDay :: String -> Day
 fromZonedTimeToDay x = fromGregorian ( y split 0) (md split 1) (md split 2)
   where split = S.splitOn "-" x
-        md splits x = read ( splits !! x) :: Int
+        md splits x =  read (take 2 $ splits !! x) :: Int
         y     splits x = read ( splits !! x ) :: Integer
 
 getDate :: IO Day
