Make IO action which get cached formatted local time. Use this to avoid the cost of frequently time formatting by caching an auto updating formatted time, this cache update every 1 second. more detail in Control.AutoUpdate
Modulefast-logger-3.2.7Haskell2010
System.Log.FastLogger.Date
Formatting time is slow. This package provides mechanisms to cache formatted date.
Contents
Synopsis
- value newTimeCache
- value simpleTimeFormat
- value simpleTimeFormat'
- Packagefast-logger-3.2.7
- Exports3
- LanguageHaskell2010
- LicenceBSD-3-Clause
- SourceDate.hs
Date cacher
A simple time cache using format "%d%b%Y:%T %z"
A simple time cache using format "%d-%b-%Y %T"