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

weeks duration (and other duration) use of decimal value #887

Closed
aphillips opened this issue May 12, 2017 · 4 comments
Closed

weeks duration (and other duration) use of decimal value #887

aphillips opened this issue May 12, 2017 · 4 comments
Assignees
Labels
i18n-needs-resolution Issue the Internationalization Group has raised and looks for a response on. time

Comments

@aphillips
Copy link

aphillips commented May 12, 2017

http://w3c.github.io/sdw/time/#time:weeks

The property weeks duration is counted using a decimal value, so one can specify 2.5 weeks. A (Gregorian) week is 7 days, so I suppose that "2.5 weeks" is 17.5 days? Other properties like months duration here are less clear, since months often have different numbers of days. Should the decimal value be more clearly defined?

@r12a r12a added the i18n-needs-resolution Issue the Internationalization Group has raised and looks for a response on. label May 13, 2017
@tidoust tidoust added the time label May 13, 2017
@dr-shorthair
Copy link
Collaborator

I will add note on the GeneralDurationDescription class warning that the exact duration

  • depends on the temporal reference system
  • for months is imprecise for calendars where the length of a month varies.
    the latter also on the DurationDescription class.

@dr-shorthair
Copy link
Collaborator

Note added to GeneralDurationDescription

The exact duration of a duration expressed as a GeneralDurationDescription depends on the Temporal Reference System. In some calendars the length of the week or month is not constant within the year. Therefore, a value like "2.5 months" may not necessarily be exactly compared with a similar duration expressed in terms of weeks or days. When non-earth-based calendars are considered even more care must be taken in comparing durations.

Note added to DurationDescription

In the Gregorian calendar the length of the month is not fixed. Therefore, a value like "2.5 months" cannot be exactly compared with a similar duration expressed in terms of weeks or days.

@chris-little
Copy link
Contributor

Suggest simplifying text to start: "An exact duration expressed as a GeneralDurationDescription". I do not think it alters the semantics.

@dr-shorthair
Copy link
Collaborator

Whoops - of course

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
i18n-needs-resolution Issue the Internationalization Group has raised and looks for a response on. time
Projects
None yet
Development

No branches or pull requests

5 participants