9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: ori@eigenstate.org
To: ori@eigenstate.org, 9fans@9fans.net
Subject: Re: [9fans] libdate
Date: Thu, 30 Apr 2020 17:46:45 -0700	[thread overview]
Message-ID: <33A149D4B4CA70B554AF0BDCB406D856@eigenstate.org> (raw)
In-Reply-To: <893A52A584CDAA55E0F41DDFB2012BBD@eigenstate.org>

> As a result, if we have a timestamp like this:
> 
> 	Jan 1 2013, 7:00 PM EST
> 
> will not be able to deal with the timezone component.

And now that I've started poking at converting code like
seconds(1), it looks like I'm going to need to solve it.
I'm thinking that I want to add /adm/timezone/abbrev,
which would look like:

	EST	US_Eastern
	PST US_Pacific
	AEST Australia_Tasmania

Obviously, this is a lossy mapping: There are multiple
named timezones that map to one abbreviation, and I think
that's fine.


  reply	other threads:[~2020-05-01  0:46 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-26  0:54 libdate ori
2020-04-26  1:54 ` [9fans] libdate tlaronde
2020-04-26  3:08   ` ori
2020-04-26  3:14 ` Calvin Morrison
2020-04-26  3:41 ` cinap_lenrek
2020-04-27  0:18 ` ori
2020-05-01  0:46   ` ori [this message]
2020-05-01  3:15     ` ori

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=33A149D4B4CA70B554AF0BDCB406D856@eigenstate.org \
    --to=ori@eigenstate.org \
    --cc=9fans@9fans.net \
    /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).