Skip to content
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

Add byMonthWeek as a property of schema.org/Schedule #2599

Open
vholland opened this issue Jun 9, 2020 · 7 comments
Open

Add byMonthWeek as a property of schema.org/Schedule #2599

vholland opened this issue Jun 9, 2020 · 7 comments
Assignees

Comments

@vholland
Copy link
Contributor

@vholland vholland commented Jun 9, 2020

As we work with authors on using schema.org/Schedule, we realize there is no way to specify a schedule for particular weeks of the month. For example, a meeting that is the first and third week of each month.

Using a name similar to the existing schema.org/byMonthDay, I propose adding schema.org/byMonthWeek for this use case.

@vholland vholland self-assigned this Jun 9, 2020
vholland added a commit to vholland/schemaorg that referenced this issue Jun 9, 2020
@danbri
Copy link
Contributor

@danbri danbri commented Jun 12, 2020

@ldodds fyi

@danbri
Copy link
Contributor

@danbri danbri commented Jun 12, 2020

@vholland do your weeks start on Sunday? Monday? Can we define a function that takes a date and tells us which week of a specified month we're in?

Glancing around,

  • Wikipedia says "According to the Hebrew calendar and traditional Christian calendars, Sunday is the first day of the week. But according to the International Organization for Standardization ISO 8601, Sunday is the seventh day of the week."
  • timeanddate.com says, "Monday is the first day of the week according to the international standard ISO 8601, but in the US, Canada, and Japan, it's counted as the second day of the week."

vholland added a commit to vholland/schemaorg that referenced this issue Jun 19, 2020
@vholland
Copy link
Contributor Author

@vholland vholland commented Jun 19, 2020

I don't think we will be able to enforce something. I added something to the description stating using schema.org/byDay is useful for clarifying for things like the 1st Monday.

Also, I converted to .ttl.

@danbri
Copy link
Contributor

@danbri danbri commented Jun 24, 2020

Talked to Vicki, and realised "For example, a meeting that is the first and third week of each month." meant "For example, a meeting that is the Tuesday of the first and third week of each month."

Which is a lot less ambiguous; I think we should go ahead and merge this.

danbri pushed a commit that referenced this issue Jun 24, 2020
* Issue #2341: Added SportsTeam to the domain for gender.

* Remove file added to wrong branch.

* Issue #2486: Added startDate/endDate to Schedule

* Issue #2599: Added byMonthWeek to Schedule

* Removed stale RDFa files to sync with schema.org main.

* Issue #2599: Added byMonthWeek to Schedule

* Fixed formatting
@philbarker
Copy link
Contributor

@philbarker philbarker commented Jun 25, 2020

Say June begins on Saturday (and weeks begin on Sunday) is the first Saturday of June in the first week of June or the last week of May? Is the day before in first week of June? Is the first Sunday in June in the second week? I can't answer these questions in a consistent way that doesn't seem counterintuitive.

Why not have the property byMonthWeekDay and define it as the ordinal numbers of that week days in a month, e.g. first tuesday.

@danbri
Copy link
Contributor

@danbri danbri commented Jul 16, 2020

Examples (from a colleague),

  • An event happening every 1st and 3rd week of the month, we would then populate byMonthWeek=[1,3]
  • A festival happening first friday of each month 5-7pm, we would then populate byMonthWeek=1, byDay=Friday

@github-actions
Copy link

@github-actions github-actions bot commented Sep 15, 2020

This issue is being tagged as Stale due to inactivity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants