Fixed #30989 -- Removed unimplemented B time format.

It's never been documented and has always raised a NotImplementedError.
This commit is contained in:
Baptiste Mispelon 2019-11-18 12:50:41 +01:00 committed by Mariusz Felisiak
parent 9100c664db
commit cbe4d6203f
1 changed files with 1 additions and 5 deletions

View File

@ -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.