unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Yuri Khan <yuri.v.khan@gmail.com>
To: Philip Kaludercic <philipk@posteo.net>
Cc: John Task <q01@disroot.org>, emacs-devel@gnu.org
Subject: Re: [NonGNU Elpa] New package: ETT
Date: Wed, 3 May 2023 14:12:45 +0700	[thread overview]
Message-ID: <CAP_d_8VaYSE-NWgrR9mp_+Yn1Y3nFGzcVACzfGg6f1GFCDTQqQ@mail.gmail.com> (raw)
In-Reply-To: <87mt2m9cbk.fsf@posteo.net>

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?



  parent reply	other threads:[~2023-05-03  7:12 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-02 21:21 [NonGNU Elpa] New package: ETT John Task
2023-05-03  6:08 ` Philip Kaludercic
2023-05-03  6:11   ` Philip Kaludercic
2023-05-03  7:12   ` Yuri Khan [this message]
2023-05-03 11:12 ` Eli Zaretskii
  -- strict thread matches above, loose matches on Subject: below --
2023-05-03 18:06 John Task
2023-05-03 17:14 John Task
2023-05-03 18:05 ` Eli Zaretskii
2023-05-03 15:29 John Task
2023-05-03 16:57 ` Sam Steingold
2023-05-03 15:02 John Task
2023-05-03 16:41 ` Philip Kaludercic
2023-05-03 14:07 John Task
2023-05-03 15:55 ` Eli Zaretskii
2023-03-01 18:17 John Task
2023-03-01 17:46 John Task
2023-03-02  4:33 ` Richard Stallman
2023-03-02 10:08   ` Holger Schurig
2023-03-02 14:50 ` q01
2023-03-02 15:55 ` John Task

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAP_d_8VaYSE-NWgrR9mp_+Yn1Y3nFGzcVACzfGg6f1GFCDTQqQ@mail.gmail.com \
    --to=yuri.v.khan@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=philipk@posteo.net \
    --cc=q01@disroot.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).