]> gitweb.michael.orlitzky.com - dead/htsn-import.git/blobdiff - src/TSN/XML/Odds.hs
Export the Game types from TSN.XML.Odds.
[dead/htsn-import.git] / src / TSN / XML / Odds.hs
index 9672c9ce4a1531c45153a5df1372af3e1766fe35..6b7d4ab9d831d7fd10dd16d6ca252c0fa1d0d142 100644 (file)
@@ -11,6 +11,9 @@
 --   other... disorganized... information.
 --
 module TSN.XML.Odds (
+  OddsGameAwayTeamXml(..), -- Used in TSN.XML.JFile
+  OddsGameHomeTeamXml(..), -- Used in TSN.XML.JFile
+  OddsGameTeam(..),        -- Used in TSN.XML.JFile
   dtd,
   pickle_message,
   -- * Tests
@@ -66,7 +69,7 @@ import Text.XML.HXT.Core (
 import TSN.Codegen (
   tsn_codegen_config )
 import TSN.DbImport ( DbImport(..), ImportResult(..), run_dbmigrate )
-import TSN.Picklers ( xp_date, xp_time, xp_time_stamp )
+import TSN.Picklers ( xp_date_padded, xp_time, xp_time_stamp )
 import TSN.XmlImport ( XmlImport(..), XmlImportFk(..) )
 import Xml (
   FromXml(..),
@@ -692,7 +695,7 @@ pickle_game =
   xpWrap (from_tuple, to_tuple) $
   xp6Tuple
     (xpElem "GameID" xpInt)
-    (xpElem "Game_Date" xp_date)
+    (xpElem "Game_Date" xp_date_padded)
     (xpElem "Game_Time" xp_time)
     pickle_away_team
     pickle_home_team