Comments (4)
Those seem like reasonable ideas, I'll have a go at implementing them. The change is going to require changing all existing files though, which is a pain.
from dancelist.
I've started looking into this, and unfortunately daylight savings time boundaries make it tricky.
Just moving the timezone offset to a field by itself doesn't work, because sometimes an event will run over a DST boundary, e.g. from 2024-03-30T20:00:00+00:00
to 2024-03-31T04:00:00+01:00
, where the start and end UTC offsets are different. Having a separate field with the timezone name rather than the offset (e.g. Europe/London
in this example) almost works, except that there are some times right on the boundary that are ambiguous (and some that don't exist at all). E.g. 2024-10-27T01:30:00
in Europe/London
refers to two different times, either before or after the offset change. It's unclear how to handle this. I could always pick one, but that makes it impossible to correctly enter events starting or ending within a particular hour each year.
Your third suggestion of mapping cities to default timezone is possible (as part of the add event form), though is more of a pain without timezone names being stored in events.
from dancelist.
Ok, I see the edge cases π€
Would it be an option to still allow the start and end time to specify an offset? Then this could be used to disambiguate the rare edge cases while still not needing to care for almost all events. So my suggestions would just be a fallback for when there is no offset specified. This would also remove the need to migrate existing files.
NB: As an organiser I would expect half of my audience to just understand the wrong time in those cases anyway β even if I list the time in an unambiguous way. π
from dancelist.
#315 is now live, https://folkdance.page/add will automatically set the timezone based on the country and state.
from dancelist.
Related Issues (9)
- Table row border widths are inconsistent
- Dance style names broken at some screen widths
- Add 'subscribe in Google Calendar' link
- GMail does not mark cancelled events as cancelled HOT 2
- Write an importer for CDSS
- `dancelist validate` should support yaml anchors HOT 1
- Import more iCalendar feeds
- Import Edinburgh Ceilidh club
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dancelist.