From: John Yates <john@yates-sheets.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: help-gnu-emacs@gnu.org
Subject: Re: git-like parsing of date strings
Date: Mon, 27 Mar 2023 11:43:40 -0400 [thread overview]
Message-ID: <CAJnXXogowXnqv+2omkzif-Mmtc2Tm0d=B6GwUFpqdiNhONu-VQ@mail.gmail.com> (raw)
In-Reply-To: <831qla9tmm.fsf@gnu.org>
On Mon, Mar 27, 2023 at 10:06 AM Eli Zaretskii <eliz@gnu.org> wrote:
>
> Try the functions in lisp/calendar/parse-time.el.
parse-time appears to handle only absolute dates.
I need support for relative dates (e.g. yesterday, 3 days ago, etc).
Maybe something like: https://github.com/thatguystone/approxidate
next prev parent reply other threads:[~2023-03-27 15:43 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-27 14:00 git-like parsing of date strings John Yates
2023-03-27 14:05 ` Eli Zaretskii
2023-03-27 15:43 ` John Yates [this message]
2023-03-27 16:01 ` Eli Zaretskii
2023-03-27 23:49 ` Tim Landscheidt
2023-03-28 11:04 ` John Yates
2023-03-28 13:31 ` Tim Landscheidt
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='CAJnXXogowXnqv+2omkzif-Mmtc2Tm0d=B6GwUFpqdiNhONu-VQ@mail.gmail.com' \
--to=john@yates-sheets.org \
--cc=eliz@gnu.org \
--cc=help-gnu-emacs@gnu.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.
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).