From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Robert J. Chassell" Newsgroups: gmane.emacs.devel Subject: Re: make standard If-Modified-Since headers Date: Thu, 28 Feb 2008 02:31:05 +0000 (UTC) Message-ID: References: <86pruy3q6p.fsf@lifelogs.com> <873arfl1ui.fsf_-_@jidanni.org> <867igqtp1g.fsf@lifelogs.com> <87ejayjuf8.fsf@ambire.localdomain> <863aretkoj.fsf@lifelogs.com> <86y796s33o.fsf@lifelogs.com> <47C5E307.6070200@gnu.org> <86tzjuow6x.fsf@lifelogs.com> Reply-To: bob@rattlesnake.com NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1204165880 10451 80.91.229.12 (28 Feb 2008 02:31:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 28 Feb 2008 02:31:20 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Feb 28 03:31:45 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JUYYj-0008UY-6v for ged-emacs-devel@m.gmane.org; Thu, 28 Feb 2008 03:31:45 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JUYYC-0008Pq-Qx for ged-emacs-devel@m.gmane.org; Wed, 27 Feb 2008 21:31:12 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JUYY9-0008PI-1z for emacs-devel@gnu.org; Wed, 27 Feb 2008 21:31:09 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JUYY6-0008P5-S5 for emacs-devel@gnu.org; Wed, 27 Feb 2008 21:31:07 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JUYY6-0008P2-Mz for emacs-devel@gnu.org; Wed, 27 Feb 2008 21:31:06 -0500 Original-Received: from cpe-69-204-130-115.nycap.res.rr.com ([69.204.130.115] helo=rattlesnake.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JUYY6-0002rI-Gh for emacs-devel@gnu.org; Wed, 27 Feb 2008 21:31:06 -0500 Original-Received: by rattlesnake.com via sendmail from stdin id (Debian Smail3.2.0.115) Thu, 28 Feb 2008 02:31:05 +0000 (UTC) In-reply-to: <86tzjuow6x.fsf@lifelogs.com> (message from Ted Zlatanov on Wed, 27 Feb 2008 16:45:26 -0600) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 1) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:90686 Archived-At: Most HTTP date/time stamps use the numeric form which in this symbolism has a small z, %z. For example, Ted Zlatanov wrote on Date: Wed, 27 Feb 2008 16:45:26 -0600 Even when (system-time-locale "C") produces UTC, it would make sense to provide (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)) t))) -- Robert J. Chassell GnuPG Key ID: 004B4AC8 bob@rattlesnake.com bob@gnu.org http://www.rattlesnake.com http://www.teak.cc