Re: [sdw] should generalYear (etc) be gregorianYear (etc)? (#888)

I see what you're trying to do. You might want to make this even more explicit?

I don't see a way to associate "general" month/day/year values with a specific calendar? Having a `gMonth` == `14` doesn't really tell me anything without knowledge of the calendar.

As an aside (and perhaps it should be a separate, new issue) but I note that your `gYear` is limited for 4 digits, while some calendars need 5 digits (and all calendars will someday--but not soon--need it) cf. https://en.wikipedia.org/wiki/Calendar_era

I also notice that you don't have a concept of era, by which I do *not* mean "archaeological era" e.g. Paleozoic etc. but rather the calendric era. The ISO/Gregorian calendar uses two eras, for example: CE (aka "AD") and BCE (aka "BC"). The Japanese Imperial calendar has a number of eras related to the various reigns of emperors, etc. The ability to use *general* year values would probably depend on the ability to represent what calendar is in use and which era within that calendar.

Please consider reopening this (I18N does not re-open issues on our own)

-- 
GitHub Notification of comment by aphillips
Please view or discuss this issue at https://github.com/w3c/sdw/issues/888#issuecomment-1248591495 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 15 September 2022 20:36:13 UTC