Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 208b0fb commit d958d9fCopy full SHA for d958d9f
1 file changed
Lib/test/test__locale.py
@@ -102,6 +102,11 @@ def accept(loc):
102
# ps_AF doesn't work on Windows: see bpo-38324 (msg361830)
103
del known_numerics['ps_AF']
104
105
+if sys.platform == 'sunos5':
106
+ # On Solaris, Japanese ERAs start with the year 1927,
107
+ # and thus there's less of them.
108
+ known_era['ja_JP'] = (5, '+:1:2019/05/01:2019/12/31:令和:%EC元年')
109
+
110
class _LocaleTests(unittest.TestCase):
111
112
def setUp(self):
0 commit comments