]> gitweb.michael.orlitzky.com - dead/htsn-import.git/blobdiff - src/TSN/XML/SportInfo.hs
Use UTC instead of EST to store the timestamps; they're both wrong anyway.
[dead/htsn-import.git] / src / TSN / XML / SportInfo.hs
index a9e1f1a248863a84b13417c5d6c9fc604e05d995..6bb99a2a484474d8f286e4895bcb3fddc46f4583 100644 (file)
@@ -236,6 +236,7 @@ instance DbImport SportInfo where
 --
 mkPersist defaultCodegenConfig [groundhog|
 - entity: SportInfo
+  dbName: sport_info
   constructors:
     - name: SportInfo
       uniques:
@@ -274,7 +275,7 @@ test_accessors = testCase "we can access a parsed sport_info" $ do
   let a2  = xml_file_id t
   let ex2 = 2011
   let a3  = show $ time_stamp t
-  let ex3 = "2009-09-28 00:50:00 UTC"
+  let ex3 = "2009-09-27 19:50:00 UTC"
   let a4  = take 9 (xml t)
   let ex4 = "<message>"
   let actual = (a1,a2,a3,a4)