Ada-Rapporteur-Group / User-Community-Input

Ada User Community Input Working Group - Github Mirror Prototype
27 stars 1 forks source link

Ada.Calendar.Formatting.Day_Of_Week should have a Time_Zone parameter #17

Closed sttaft closed 1 year ago

sttaft commented 2 years ago

Ada.Calendar.Formatting.Day_of_Week does not account for the Time_Zone... unlike every other formatting function in the same package, including the Day function.


Ada.Calendar.Formatting.Day_of_Week needs to have a Time_Zone parameter like all the others. It should default to 0 (UTC) like all the others...

The LRM doesn't comment on what time zone would currently be used (local or UTC), so it isn't possible to say whether using 0 as a default would be backwards compatible with implementations, but that just underscores the need for more clarity.

Joshua Fletcher, fletcher.ua@gmail.com, 7/19/2022 15:08:12

ARG-Editor commented 1 year ago

AI22-0048-1 has been created for this issue.

ARG-Editor commented 1 year ago

AI22-0048-1 is now both ARG and WG 9 approved.