HORIZON HASKELLDocslts/ghc-10.0.x2b276322026-10-31Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 2b27632 · 2026-10-31

Modulehackage-db-2.1.3Haskell2010

Distribution.Hackage.DB.Utility

Synopsis
  • Packagehackage-db-2.1.3
  • Exports4
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceUtility.hs

Parse an UTC timestamp in extended ISO8601 format a standard UTCTime type. This function is useful to parse the "snapshot" identifier printed by cabal-install after a database update into a useable type. Combine with toEpochTime to obtain an EpochTime that can be passed to the Hackage DB reading code from this library.

Example1 expression
parseIso8601 "2018-12-21T13:17:40Z"2018-12-21 13:17:40 UTC