fix dumb typo which caused CSV import failure
commit4747a1ad5a56c7bd8bc17fb35ed144aed7f38e12
authorAgentM <agentm@themactionfaction.com>
dateSat 25 Jul 2015, 10:54 (11 years ago)
parentc121f16
ProjectM36/Atom.hs+1−1
@@ -42,6 +42,6 @@ atomFromString DoubleAtomType strIn = case readMaybe strIn of
4242 Just d -> Right $ DoubleAtom d
4343 Nothing -> Left (ParseError "Failed to parse double")
4444atomFromString DateAtomType strIn = case parseTime defaultTimeLocale "%Y-%m-%d" strIn of
45− Just date -> Right $ DateTimeAtom date
45+ Just date -> Right $ DateAtom date
4646 Nothing -> Left $ ParseError "Failed to parse datetime"
4747atomFromString AnyAtomType _ = Left $ ParseError "Parsing AnyAtomType is not supported"