Fixed -- Removed unimplemented B time format.
It's never been documented and has always raised a NotImplementedError.
@@ -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.
