[BREAKING phylo] refactor to use uniform TimeUnitCriteria

NOTE: Golden tests don't pass

This is a proposal

Should go together with

https://gitlab.iscpif.fr/gargantext/purescript-gargantext/tree/dev-phylo-document-dates-with-hh-mm-ss
4 jobs for 494-dev-document-dates-with-hh-mm-ss in 18 minutes and 48 seconds (queued for 6 seconds)
latest
Status Job ID Name Coverage
  Cabal
failed #18868
cabal

00:18:48

 
  Stack
skipped #18869
stack
 
  Bench
skipped #18870
allowed to fail manual
bench
 
  Test
skipped #18871
test
 
Name Stage Failure
failed
cabal Cabal
[15 of 19] Compiling CLI.Worker       ( bin/gargantext-cli/CLI/Worker.hs, /builds/gargantext/haskell-gargantext/dist-newstyle/build/x86_64-linux/ghc-9.6.6/gargantext-0.0.7.4.7/x/gargantext/opt/build/gargantext/gargantext-tmp/CLI/Worker.o, /builds/gargantext/haskell-gargantext/dist-newstyle/build/x86_64-linux/ghc-9.6.6/gargantext-0.0.7.4.7/x/gargantext/opt/build/gargantext/gargantext-tmp/CLI/Worker.dyn_o ) [Gargantext.Core.Worker changed]
[17 of 19] Compiling CLI.Server ( bin/gargantext-cli/CLI/Server.hs, /builds/gargantext/haskell-gargantext/dist-newstyle/build/x86_64-linux/ghc-9.6.6/gargantext-0.0.7.4.7/x/gargantext/opt/build/gargantext/gargantext-tmp/CLI/Server.o ) [Gargantext.API changed]
[18 of 19] Compiling CLI.Phylo.Profile ( bin/gargantext-cli/CLI/Phylo/Profile.hs, /builds/gargantext/haskell-gargantext/dist-newstyle/build/x86_64-linux/ghc-9.6.6/gargantext-0.0.7.4.7/x/gargantext/opt/build/gargantext/gargantext-tmp/CLI/Phylo/Profile.o ) [Source file changed]
[20 of 20] Linking /builds/gargantext/haskell-gargantext/dist-newstyle/build/x86_64-linux/ghc-9.6.6/gargantext-0.0.7.4.7/x/gargantext/opt/build/gargantext/gargantext [Objects changed]
Error: [Cabal-7125]
Failed to build test:garg-test from gargantext-0.0.7.4.7.

Cleaning up project directory and file based variables
ERROR: Job failed: exit code 1