Fixed #30989 -- Removed unimplemented B time format.
It's never been documented and has always raised a NotImplementedError.
This commit is contained in:
parent
9100c664db
commit
cbe4d6203f
|
@ -21,7 +21,7 @@ from django.utils.regex_helper import _lazy_re_compile
|
|||
from django.utils.timezone import get_default_timezone, is_aware, is_naive
|
||||
from django.utils.translation import gettext as _
|
||||
|
||||
re_formatchars = _lazy_re_compile(r'(?<!\\)([aAbBcdDeEfFgGhHiIjlLmMnNoOPrsStTUuwWyYzZ])')
|
||||
re_formatchars = _lazy_re_compile(r'(?<!\\)([aAbcdDeEfFgGhHiIjlLmMnNoOPrsStTUuwWyYzZ])')
|
||||
re_escaped = _lazy_re_compile(r'\\(.)')
|
||||
|
||||
|
||||
|
@ -68,10 +68,6 @@ class TimeFormat(Formatter):
|
|||
return _('PM')
|
||||
return _('AM')
|
||||
|
||||
def B(self):
|
||||
"Swatch Internet time"
|
||||
raise NotImplementedError('may be implemented in a future release')
|
||||
|
||||
def e(self):
|
||||
"""
|
||||
Timezone name.
|
||||
|
|
Loading…
Reference in New Issue