Apocrypha

ts

Emacs timestamp and date-time library

ts is a date and time library for Emacs. It aims to be more convenient than patterns like (string-to-number (format-time-string "%Y")) by providing easy accessors, like (ts-year (ts-now)). To improve performance (significantly), formatted date parts are computed lazily rather than when a timestamp object is instantiated, and the computed parts are then cached for later access without recomputing. Behind the scenes, this avoids unnecessary (string-to-number (format-time-string... calls, which are surprisingly expensive.

Available in

OverlayNewestEbuildsLast activity
gentoo gitweb ↗ 0.3 1 14 h details ›
melpa GitHub ↗ 20220822.2313 1 21 h details ›
melpa-stable GitHub ↗ 0.3 1 21 h details ›
akater GitLab ↗ 9999 1 39 d details ›

Versions & arches

VersionOverlay amd64x86 Committed
20220822.2313 melpa amd64 testing x86 testing 5 mo view · download · history ↗
9999 LIVE akater follows upstream — no keywords 2 yr view · download · history ↗
0.3 gentoo amd64 testing x86 testing view · download · history ↗
0.3 melpa-stable amd64 testing x86 testing 5 mo view · download · history ↗

Runtime dependencies of 20220822.2313

show 3 lines