Commit c9a2ffdd authored by Alexandre Delanoë's avatar Alexandre Delanoë

[PARSER] date + schema

parent e4e3d8c5
#!/bin/bash
DB="gargandbV5"
rm ../../tmp*
rm ../../repo*
psql -c "drop database IF EXISTS \"${DB}\""
createdb "${DB}"
......
......@@ -18,7 +18,7 @@ DGP.parseDateRaw DGP.FR "12 avril 2010" == "2010-04-12T00:00:00.000+00:00"
{-# LANGUAGE NoImplicitPrelude #-}
{-# LANGUAGE OverloadedStrings #-}
module Gargantext.Text.Corpus.Parsers.Date (parse, parseRaw, dateSplit) where
module Gargantext.Text.Corpus.Parsers.Date (parse, parseRaw, dateSplit, Year, Month, Day) where
import Data.HashMap.Strict as HM hiding (map)
import Data.Text (Text, unpack, splitOn, pack)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment