module Parsers.Date where
-import Gargantext.Prelude
import Test.Hspec
import Test.QuickCheck
-import Parsers.Types
import Control.Applicative ((<*>))
import Data.Either (Either(..))
import Text.Parsec.Error (ParseError)
import Duckling.Time.Types (toRFC3339)
-import Gargantext.Parsers.Date (fromRFC3339)
+
+-----------------------------------------------------------
+import Gargantext.Prelude
+import Gargantext.Text.Parsers.Date (fromRFC3339)
+import Parsers.Types
+-----------------------------------------------------------
fromRFC3339Inv :: Either ParseError ZonedTime -> Text
fromRFC3339Inv (Right z) = toRFC3339 z