GNU bug report logs - #6957
url-cookie-expired-p

Previous Next

Package: emacs;

Reported by: shawn boles <shawn.boles <at> gmail.com>

Date: Tue, 31 Aug 2010 20:08:02 UTC

Severity: normal

Fixed in version 23.3

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 6957 <at> debbugs.gnu.org (full text, mbox):

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: shawn boles <shawn.boles <at> gmail.com>
Cc: 6957 <at> debbugs.gnu.org
Subject: Re: bug#6957: url-cookie-expired-p Redux
Date: Wed, 01 Sep 2010 01:39:23 +0200
shawn boles <shawn.boles <at> gmail.com> writes:

> I added a function called url-cookie-gmt-time-string that returns the
> current time adjusted to GMT. Please check this function. While I
> believe my implementation is correct, there may be a better way to
> adjust a time to GMT in Emacs.

(float-time) already gives the seconds since epoch.  No need to convert
to string and back, or doing any time zone adjustments.

Andreas.

-- 
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




This bug report was last modified 14 years and 342 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.