Email list hosting service & mailing list manager


~k and ~l Takashi Kato 20 Apr 2021 18:52 UTC

Hello,

I've got the following bug report on Sagittarius.

> SRFI-19 defines ~k converter of date->string as blank-padded variant of ~H, but sagittarius treats it as ~H and pads with zero.

I've checked the reference implementation, and figure out that it has
the same bug(?). Also the document of the `~k` and `~l` contains
misleading descriptions like this:
---
~k hour, blank padded, 24-hour clock (00...23)
~l hour, blank padded, 12-hour clock (01...12)
---
The words say 'blank padded' but the ranges say '00...23' and '01...12'.

As `~k` and `~l` seem analogies of `~H` and `~I`, I believe the range
example is incorrect (so is the reference implementation of `~k`).
Could you please confirm?

Cheers,
--
_/_/
Takashi Kato
E-mail: xxxxxx@gmail.com