activitypub icon indicating copy to clipboard operation
activitypub copied to clipboard

Timezone independent events/events that lasts the whole day?

Open annando opened this issue 7 years ago • 9 comments

"startTime" and "endTime" always seem to contain a timezone. Friendica does also support some timezone independent events. This can be used for events like the "earth hour": https://en.wikipedia.org/wiki/Earth_Hour This event is always from 20:30 to 21:30 local time. So when I transmit this to my followers around the earth, it must not be adapted to their timezone, but has to be kept at "20:30" of their local time. How could that be done?

And: How could I transmit an event that lasts the whole days?

annando avatar Oct 06 '18 15:10 annando

looks like https://www.w3.org/TR/activitystreams-core/#dates is pretty clear that it doesn't support this :( It requires all times to have either an offset or Z utc specifier.

nightpool avatar Oct 06 '18 15:10 nightpool

I know. That's why I'm asking how this could be done. :-)

Edit: What would you suggest for events that last a whole day?

annando avatar Oct 06 '18 16:10 annando

.

เมื่อ 6 ต.ค. 2018 23:43 "Michael Vogel" [email protected] เขียนว่า

I know. That's why I'm asking how this could be done. :-)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/w3c/activitypub/issues/324#issuecomment-427588372, or mute the thread https://github.com/notifications/unsubscribe-auth/ApqXZPU_slbXUMSgUzh7B7KFUaiMuRnMks5uiN3GgaJpZM4XLaE3 .

NDC431 avatar Oct 06 '18 16:10 NDC431

Of course one could always transmit some extra flag and the UTC time. This would then be a sign for these kinds of events.

annando avatar Oct 06 '18 16:10 annando

I think it's probably best to use an existing open data format, like CalDAV, for the content of Events and leave the date format for dating the Objects, themselves.

swift2plunder avatar Apr 10 '19 17:04 swift2plunder