unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Antoine Beaupré" <anarcat@debian.org>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 53396@debbugs.gnu.org
Subject: bug#53396: 27.1; icalendar rendering should include timezone
Date: Fri, 21 Jan 2022 09:33:39 -0500	[thread overview]
Message-ID: <877datnoos.fsf@angela.anarc.at> (raw)
In-Reply-To: <874k5xv1fx.fsf@gnus.org>

On 2022-01-21 11:16:18, Lars Ingebrigtsen wrote:
>> 2022/1/25 13:00-14:00 Next team meeting
>>  Organizer: mailto:user@example.org
>> 
>> After:
>> 
>> 2022/1/25 13:00-0500 - 14:00-0500 Next team meeting
>>  Organizer: mailto:user@example.org
>
> That looks very confusing, I think -- I first read that as a
> mis-formatted time range from 13:00 to 05:00.  

I'm used to seeing times with a trailing offset, so I don't find this
that confusing anymore. But I know where you're coming from.

> If we want to include the time zone in the display, it shouldn't be
> appended to both the start and end times (it's unlikely that they're in
> different time zones),

True, but which one do you pick? This is not only possible in theory:
it's absolutely possible someone messes that up and generates a ics file
that has different timezones for start and end. I've seen this happen in
Nextcloud, which makes you pick a timezone for *both* times,
manually. People frequently mess it up.

So I would suggest keeping both.

> and it should be formatted in a different, less
> ambiguous way, but I'm not sure how.

Maybe using a different separator? Say:

 2022/1/25 13:00-0500 to 14:00-0500 Next team meeting

or:

 2022/1/25 13:00-0500 @ 14:00-0500 Next team meeting

?

> And if it's in the local time zone, it probably shouldn't be included at
> all.

Well that's exactly the problem here. Local time might be assumed
sometimes, but in certain remote work environment, it's a serious
mistake, because it's really ambiguous.

I had to repeatedly do the conversions (and look at the .ics source!) to
make sure it's local time. And I keep forgetting, somehow. Reading the
source code *kind* of helped, but made me frankly a little more confused
about the entire thing.

I understand this might be controversial, for people that maintain their
own agenda or work only with local times and don't have to deal with
timezones. But for people working fully remote, this makes the rendering
pretty much unusable, as I can't trust it.

How about making this configurable, maybe?

-- 
If we do not do the impossible, we shall be faced with the unthinkable.
                        - Murray Bookchin





  reply	other threads:[~2022-01-21 14:33 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-20 19:59 bug#53396: 27.1; icalendar rendering should include timezone Antoine Beaupré
2022-01-21 10:16 ` Lars Ingebrigtsen
2022-01-21 14:33   ` Antoine Beaupré [this message]
2022-01-22 11:29     ` Lars Ingebrigtsen
2022-01-23 21:04       ` Antoine Beaupré
2022-01-24  9:41         ` Lars Ingebrigtsen
2022-06-07 22:04 ` Stefan Kangas
2022-06-08  2:37   ` Eli Zaretskii
2022-06-08 13:20     ` Antoine Beaupré
2022-06-08 14:19       ` Eli Zaretskii
2022-06-08 15:33         ` Antoine Beaupré
2022-06-13 12:11     ` Stefan Kangas
2022-06-11 17:08   ` Alexander Adolf

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=877datnoos.fsf@angela.anarc.at \
    --to=anarcat@debian.org \
    --cc=53396@debbugs.gnu.org \
    --cc=larsi@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.
Code repositories for project(s) associated with this public inbox

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

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 read-only IMAP folder(s) and NNTP newsgroup(s).