Fixed issue 82 Sqlite datetime error