]> gitweb.michael.orlitzky.com - dead/htsn-import.git/blobdiff - src/TSN/XML/GameInfo.hs
Use UTC instead of EST to store the timestamps; they're both wrong anyway.
[dead/htsn-import.git] / src / TSN / XML / GameInfo.hs
index 4f264bb54e629788a30fc0aa7bee9e1148681c81..2b5e1adb9ed3b45ad803a26479811088ab5099e6 100644 (file)
@@ -123,6 +123,7 @@ instance DbImport GameInfo where
 --
 mkPersist defaultCodegenConfig [groundhog|
 - entity: GameInfo
+  dbName: game_info
   constructors:
     - name: GameInfo
       uniques:
@@ -161,7 +162,7 @@ test_accessors = testCase "we can access a parsed game_info" $ do
   let a2  = xml_file_id t
   let ex2 = 21201550
   let a3  = show $ time_stamp t
-  let ex3 = "2014-05-31 20:13:00 UTC"
+  let ex3 = "2014-05-31 15:13:00 UTC"
   let a4  = take 9 (xml t)
   let ex4 = "<message>"
   let actual = (a1,a2,a3,a4)