all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Andreas Schwab <schwab@linux-m68k.org>
To: shawn boles <shawn.boles@gmail.com>
Cc: 6957@debbugs.gnu.org
Subject: bug#6957: url-cookie-expired-p Redux
Date: Wed, 01 Sep 2010 01:39:23 +0200	[thread overview]
Message-ID: <m239tuwdw4.fsf@igel.home> (raw)
In-Reply-To: <AANLkTinKa_jAf3_2+9uDZmEwM3qexQbS_-VC73MFsndg@mail.gmail.com> (shawn boles's message of "Tue, 31 Aug 2010 15:51:38 -0700")

shawn boles <shawn.boles@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@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."





  reply	other threads:[~2010-08-31 23:39 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-31 20:07 bug#6957: url-cookie-expired-p shawn boles
2010-08-31 22:51 ` bug#6957: url-cookie-expired-p Redux shawn boles
2010-08-31 23:39   ` Andreas Schwab [this message]
2010-09-01  0:43     ` shawn boles
2010-09-02 17:13 ` bug#6957: url-cookie-expired-p Redux (at last) shawn boles
2010-09-09  5:39   ` Glenn Morris

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m239tuwdw4.fsf@igel.home \
    --to=schwab@linux-m68k.org \
    --cc=6957@debbugs.gnu.org \
    --cc=shawn.boles@gmail.com \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.