diff options
author | Aarni Koskela <akx@iki.fi> | 2023-01-20 16:55:38 +0200 |
---|---|---|
committer | Aarni Koskela <akx@iki.fi> | 2023-01-20 17:09:15 +0200 |
commit | d76db13414a6104019edc0dbafa82410e8d08e63 (patch) | |
tree | 3561491f7d69fdfdca78dbe1ed0283c21e1f1703 /babel/support.py | |
parent | 87ba449463cf590947ecd664a5c9ad8a3881e488 (diff) | |
download | babel-d76db13414a6104019edc0dbafa82410e8d08e63.tar.gz |
Adjust tests for CLDR 42
The space changes around English seem to be on purpose, see:
* https://unicode-org.atlassian.net/browse/CLDR-14032
* https://github.com/unicode-org/cldr/commit/a83026ab8c8fa6ed88f1047c4d0c6089f88b7e5d
Diffstat (limited to 'babel/support.py')
-rw-r--r-- | babel/support.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/babel/support.py b/babel/support.py index 242b492..aa7d827 100644 --- a/babel/support.py +++ b/babel/support.py @@ -83,7 +83,7 @@ class Format: >>> from babel.dates import get_timezone >>> fmt = Format('en_US', tzinfo=get_timezone('US/Eastern')) >>> fmt.datetime(datetime(2007, 4, 1, 15, 30)) - u'Apr 1, 2007, 11:30:00 AM' + u'Apr 1, 2007, 11:30:00\u202fAM' """ return format_datetime(datetime, format, tzinfo=self.tzinfo, locale=self.locale) @@ -98,7 +98,7 @@ class Format: >>> from babel.dates import get_timezone >>> fmt = Format('en_US', tzinfo=get_timezone('US/Eastern')) >>> fmt.time(datetime(2007, 4, 1, 15, 30)) - u'11:30:00 AM' + u'11:30:00\u202fAM' """ return format_time(time, format, tzinfo=self.tzinfo, locale=self.locale) |