unix-time

Unix time parser/formatter and utilities

LTS Haskell 24.65:0.4.17
Stackage Nightly 2026-10-28:0.5.1
Latest on Hackage:0.5.1

See all snapshots unix-time appears in

BSD-3-Clause licensed and maintained by Kazu Yamamoto
This version can be pinned in stack with:unix-time-0.5.1@sha256:08f1a6d5a6e6998f0b53bfc01a1dc0861bfb842485149eae3ccac897fbd46de0,1997

Module documentation for 0.5.1

Fast parser/formatter/utilities for Unix time

Changes

ChangeLog for unix-time

v0.5.1

  • Security: formatUnixTime and formatUnixTimeGMT read beyond a heap buffer when the output exceeded 80 bytes. Now the buffer grows.
  • Security: concurrent calls of the GMT functions could leave the process-global TZ corrupted. Calls are now serialized and the old TZ value is copied before being restored.
  • Windows: fix a heap overflow in _patch_unsetenv, which also failed to unset TZ.

v0.5.0

  • Remove deprecated old-time dependency by dropping fromClockTime and toClockTime #68

v0.4.17

  • Fix MinGW64 linker error #67

v0.4.16

  • Make tzset optional. #65