Territory_ConvertTimeFormats
nemo (145) 2529 posts |
You only need Arabic font support for Arabic language support. The Hijri Calendar is not dependent on any particular script. e.g. The first three months, roughly mapping to August-October, are Muharram, Safar and Rabi’al-Awwal. No Arabic necessary. |
John WILLIAMS (8368) 493 posts |
What a tangled Web we weave when seek we answers on the ROOL forum. |
Chris Mahoney (1684) 2165 posts |
A few years ago I wrote some of my own code to handle RFC 3339, and once it was working I decided that it would be useful to add support directly to the Territory Manager. My thought process went something like this: Oh, it’s a wodge of assembly. Never mind then. |
nemo (145) 2529 posts |
The problem with any international standard related to UTC is that RISC OS doesn’t actually support UTC, it only pretends to (see leap seconds for the missing bit).
That’s a shame but 3339 is trivial and is one of the few formats that can be implemented inside TerritoryManager as there’s no locale-specific elements in it. Anything with month names has to be in the individual Territory modules, although why you’d want a German machine to not parse “25 Dec 2023” is difficult to justify – perhaps the Territory should have first go, but TerritoryManager provides a default multilingual result if the configured Territory can’t translate. Reduces the burden on Territories and provides a baseline quality of service. |
Rick Murray (539) 13806 posts |
Not necessarily. RFC822 specifies that the day and month names will be in English. So it only needs one parser to handle this. Then it can be done once correctly, like understanding the difference between the timezone offset of +0000 and -0000. ;) |
nemo (145) 2529 posts |
Rephrased: In those cases that contain a localised (or undefined) month, it seems strange that TerritoryManager requires the one Territory to recognise all possible inputs. I was suggesting a multilingual fallback would be advantageous. |