unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: 25112@debbugs.gnu.org
Subject: bug#25112: 24.5; function to encode time from time string
Date: Sun, 4 Dec 2016 13:50:13 -0800 (PST)	[thread overview]
Message-ID: <b1e8bf05-d0bd-47e3-9a29-1c3ff7c1ff8b@default> (raw)
In-Reply-To: <5b95d9b8-3281-40da-872d-1a98b8a3d1fa@default>

FYI, I just now came across this library on Emacs Wiki:
https://www.emacswiki.org/emacs/strptime.el

It seems to have something similar to the requested enhancement.
It is not something that I can use, and it is no replacement
for the enhancement, but it might help.  The copyright for it
is by A. Aichner of XEmacs.

The library description is this:

 partial implementation of POSIX date and time parsing
 Implemented (partially, specifically without locale support) according to
 http://www.opengroup.org/onlinepubs/009695399/functions/strptime.html

The main function (command) it provides is this:

(defun strptime (time format &optional extended)
  "Return a nine element list of TIME, parsed according to FORMAT..."





  reply	other threads:[~2016-12-04 21:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-04 20:56 bug#25112: 24.5; function to encode time from time string Drew Adams
2016-12-04 21:50 ` Drew Adams [this message]
2016-12-05 16:08 ` Eli Zaretskii
     [not found] <<5b95d9b8-3281-40da-872d-1a98b8a3d1fa@default>
     [not found] ` <<83vauyjr3g.fsf@gnu.org>
2016-12-05 21:49   ` Drew Adams

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=b1e8bf05-d0bd-47e3-9a29-1c3ff7c1ff8b@default \
    --to=drew.adams@oracle.com \
    --cc=25112@debbugs.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.
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).