From: Ted Zlatanov <tzz@lifelogs.com>
To: emacs-devel@gnu.org
Subject: Re: make standard If-Modified-Since headers
Date: Wed, 27 Feb 2008 11:47:55 -0600 [thread overview]
Message-ID: <86y796s33o.fsf@lifelogs.com> (raw)
In-Reply-To: 863aretkoj.fsf@lifelogs.com
The specific function change I am proposing, so we have a specific
reference point:
(defun url-get-normalized-date (&optional specified-time)
"Return a 'real' date string that most HTTP servers can understand."
(let ((system-time-locale "C"))
(format-time-string "%a, %d %b %Y %T %Z"
(or specified-time (current-time)))))
Will this work on all systems? It avoids the hardcoded week and month
abbreviations through the locale specification, but I can only test that
on Linux.
Ted
next prev parent reply other threads:[~2008-02-27 17:47 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <86y79m3u0q.fsf@lifelogs.com>
[not found] ` <87ve4q2cyf.fsf@jidanni.org>
2008-02-15 20:44 ` RSS If-Modified-Since Ted Zlatanov
2008-02-26 23:44 ` make standard If-Modified-Since headers jidanni
2008-02-27 15:08 ` Ted Zlatanov
2008-02-27 15:22 ` Thien-Thi Nguyen
2008-02-27 16:42 ` Ted Zlatanov
2008-02-27 17:47 ` Ted Zlatanov [this message]
2008-02-27 22:24 ` Jason Rumney
2008-02-27 22:39 ` Jason Rumney
2008-02-27 22:45 ` Ted Zlatanov
2008-02-28 1:46 ` Stefan Monnier
2008-02-28 2:31 ` Robert J. Chassell
2008-02-28 17:49 ` Ted Zlatanov
2008-02-28 18:23 ` Stefan Monnier
2008-02-28 18:54 ` Ted Zlatanov
2008-02-28 19:12 ` Miles Bader
2008-02-28 19:20 ` Stefan Monnier
2008-02-28 19:44 ` Ted Zlatanov
2008-02-28 20:58 ` Reiner Steib
2008-02-28 2:16 ` Robert J. Chassell
2008-02-28 10:22 ` Juanma Barranquero
2008-02-27 20:26 ` Stefan Monnier
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=86y796s33o.fsf@lifelogs.com \
--to=tzz@lifelogs.com \
--cc=emacs-devel@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).