Summary
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.
Versions
v0.3 :: 0 :: gentoo
- Modified
- License
- GPL-3+
- Keywords
- ~amd64 ~x86
- USE flags
- test
USE flags
General
- test
- Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently)
Runtime Dependencies
app-editors / emacs : The extensible, customizable, self-documenting real-time display editor
app-emacs / dash : A modern list library for Emacs
app-emacs / s : The long lost Emacs string manipulation library
Change logs
- Repository mirror & CI · gentoo
Merge updates from master - Maciej Barć · gentoo
app-emacs/ts: switch to UTC zone
Closes: https://bugs.gentoo.org/927384 Signed-off-by: Maciej Barć <xgqt@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Maciej Barć · gentoo
app-emacs/ts: new package; add 0.3
Signed-off-by: Maciej Barć <xgqt@gentoo.org>