-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect time zone offsets in arts organization's Event structured data #123
Comments
@fjjulien Thanks for you analysis. I can add that, of the 3 common mistakes you mention, there are additional considerations and that only the 3rd case can be detected fully automatically. Here is my breakdown:
|
1. The time zone offset value is not adjusted to take into account daylight saving 2. The time zone offset value is defaulted to +00:00 |
@saumier Voici un autre cas de mauvais fuseau horaire. Theatre New Brunswick a des données structurées sur leur billetterie (Thundertix). Ces données ont les propriétés obligatoires d'Artsdata. Par contre, la valeur du fuseau horaire est erronée: le fuseau horaire par défaut est celui du Centre plutôt que celui de la région Atlantique. Ce fuseau horaire est peut-être défini par le serveur de leur compagnie de billetterie. |
Problem
Several arts organizations have an incorrect time zone offset value in their Event
startDate
.There are three common mistakes I regularly observe:
1. The time zone offset value is not adjusted to take into account daylight saving.
"2024-09-01T20:00:00-03:00"
. However, if the daylight savings adjustment is not taken into consideration, the date time value might be populated as if it were in Atlantic Standard Time (which would be"2024-09-01T20:00:00-04:00"
). The wrong dateTime value is the equivalent of 11:00 pm in UTC or 7:00 pm in Atlantic Daylight Time.2. The timezone offset value is defaulted to
+00:00
"2024-09-01T20:00:00-03:00"
, but it reads"2024-09-01T20:00:00+00:00"
instead. This wrong dateTime value is the equivalent of 4:00 pm in Atlantic Daylight Time.+00:00
instead of the proper time zone offset. In a WordPress site, the default time zone for the entire site is set in Settings > General > Timezone.20:00:00+00:00
may become16:00:00-04:00
).3. The timezone offset value is missing
"2024-09-01T20:00:00-03:00"
, but it reads"2024-09-01T20:00:00"
instead.While solving these kinds of problems at the source is usually the preferred course of action, time zone offset errors are so frequent that the Artsdata cannot reasonably contact and support every organization that has a wrong time zone offset value.
Potential solutions
If we want Artsdata to provide quality event data, I believe we must develop a capacity:
Inference of the local time zone based on the Place entity
If a place entity can be clearly identified, the local time zone can be inferred base on the city or the province. This method was used in the Spreadsheet to Artsdata MVP developed by A10s. Their script calls an API to retrieve the time zone based on the province's alpha-two standard code.
The key for this kind of programmatic inference is to have a clearly identified Place entity. This is not a given. Very few structured data sources do not have an
location.id
with a proper URI identifying the place, and even fewer have alocation.sameAs
pointing to an external persistent identifier.Inference of the local time zone based on the source
All graphs in Artsdata come from a clearly identified source: sometimes a single organization, some other times an aggregator serving a geographic area. Events from such sources usually all take place within the same time zone (with possible rare exceptions). Until programmatic inference is possible, I propose that we manually assign a local time zone to Artsdata graphs (where possible). That would be a cost efficient means of inferring a local time zone to events.
Inference of time zone was initially in scope for the Nebula project, but it was removed from the scope. This capacity is now needed for the Algorithm for an Event Structured Data Score (discussion #120). We should reconsider the priority for this work.
The text was updated successfully, but these errors were encountered: