]> gitweb.michael.orlitzky.com - dead/htsn-import.git/commitdiff
Remove leading/trailing space from the time_stamp format string (GHC bug #9150).
authorMichael Orlitzky <michael@orlitzky.com>
Thu, 29 May 2014 17:01:32 +0000 (13:01 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Thu, 29 May 2014 17:01:32 +0000 (13:01 -0400)
src/TSN/Picklers.hs

index c70b2ba84edc5d627575622d1bb2a609f99bb195..e188953eb952ced6840d67ab892b0400482f02c8 100644 (file)
@@ -132,7 +132,7 @@ xp_time_stamp =
   (to_time_stamp, from_time_stamp) `xpWrapMaybe` xpText
   where
     -- This omits the timezone and trailing space.
-    format = " %B %-d, %Y, at " ++ xp_time_format ++ " ET "
+    format = "%B %-d, %Y, at " ++ xp_time_format ++ " ET"
 
     five_hours :: NominalDiffTime
     five_hours = 5 * 60 * 60