You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying to create two objects for Victoria and New South Wales in Australia and I realised the the holiday providers for these two states were using different naming conventions.
If we check the list of providers, we can easily see there are 5 states in Australia using their abbreviations as the class name against the others.
I don't think it is correct. Based on the naming conventions used for states in Germany, maybe we can simply align Australia states to reduce confusion.
NSW => NewSouthWales
ACT => AustralianCapitalTerritory
WA => WesternAustralia
SA => SouthAustralia
NT => NorthernTerritory
The text was updated successfully, but these errors were encountered:
As the guy who actually built all of the Australian providers, my apologies. :)
Personally, I'm using Yasumi::createByISO3166_2 rather than just Yasumi::create, so if someone feels like changing this I am not opposed.
I was trying to create two objects for Victoria and New South Wales in Australia and I realised the the holiday providers for these two states were using different naming conventions.
If we check the list of providers, we can easily see there are 5 states in Australia using their abbreviations as the class name against the others.

I don't think it is correct. Based on the naming conventions used for states in Germany, maybe we can simply align Australia states to reduce confusion.
The text was updated successfully, but these errors were encountered: