emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [NonGNU Elpa] New package: ETT


From: Yuri Khan
Subject: Re: [NonGNU Elpa] New package: ETT
Date: Wed, 3 May 2023 14:12:45 +0700

On Wed, 3 May 2023 at 13:09, Philip Kaludercic <philipk@posteo.net> wrote:

> +  (setq date
> +       (pcase (length date)
> +         ;; DD-MM-YY
> +         (8 date)
> +         ;; DD-MM
> +         (5 (concat date (format-time-string "-%y")))
> +         ;; DD
> +         (2 (concat date (format-time-string "-%m-%y")))
> […]

It looks here this part of code tries to normalize a partial date to
the DD-MM-YY format. Didn’t Y2K teach us anything, also, shouldn’t
YYYY-MM-DD be used instead?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]