Gnus development mailing list
 help / color / mirror / Atom feed
From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: <ding@gnus.org>
Subject: Re: format-time-string (was Re: time format on message citation line)
Date: Thu, 10 Apr 2014 18:57:47 +0100	[thread overview]
Message-ID: <87mwftf4o4.fsf@ucl.ac.uk> (raw)
In-Reply-To: <87k3ax2knm.fsf@igel.home> (Andreas Schwab's message of "Thu, 10 Apr 2014 18:50:53 +0200")

On Thursday, 10 Apr 2014 at 17:50, Andreas Schwab wrote:
> Katsumi Yamaoka <yamaoka@jpl.org> writes:
>
>> (defun gmm-format-time-string (format-string &optional time tz)
>>   "Use FORMAT-STRING to format the time TIME, or now if omitted.
>> The optional TZ specifies the time zone in a number of seconds,
>> a multiple of 3600; any other non-nil value will be treated as 0."
>
> $ TZ=Australia/Adelaide date +%z
> +0930

Yes, the whole issue of time zones is akin to poking a hornet's
nest...  I spent a year in Adelaide recently while working with
colleagues in London on a daily basis.  What a nightmare it was sharing
calendars, especially as the changes to/from daylight savings happen at
different times of the year so the difference between UK and Adelaide
could be 8.5, 9.5, or 10.5 hours.

And, just for fun:

$ TZ=Asia/Kathmandu date +%z
+0545

-- 
: Eric S Fraga, GnuPG: 0xFFFCF67D
: in Emacs 24.4.50.2 + Ma Gnus v0.10 + evil evil-git-fcfb3be
: BBDB version 3.1.1 (2014-03-11 17:17:00 -0500)



  reply	other threads:[~2014-04-10 17:57 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-02  4:00 time format on message citation line Zhao, Gang
2014-04-03  5:18 ` Katsumi Yamaoka
2014-04-03 11:25   ` Zhao, Gang
2014-04-10 11:06     ` format-time-string (was Re: time format on message citation line) Katsumi Yamaoka
2014-04-10 16:50       ` Andreas Schwab
2014-04-10 17:57         ` Eric S Fraga [this message]
2014-04-10 23:34           ` Katsumi Yamaoka
2014-04-11  8:14             ` Eric S Fraga
2014-04-11  9:31               ` Katsumi Yamaoka
2014-04-11 13:21                 ` Eric S Fraga
2014-04-19 21:22       ` Adam Sjøgren
2014-04-20 23:19         ` Katsumi Yamaoka
2014-04-15 23:34     ` time format on message citation line Katsumi Yamaoka
2014-04-16  9:28       ` Zhao, Gang

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=87mwftf4o4.fsf@ucl.ac.uk \
    --to=e.fraga@ucl.ac.uk \
    --cc=ding@gnus.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.
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 NNTP newsgroup(s).