Commits

Andriy Kornatskyy  committed 0eb4255

Added support for NoneType format provider.

  • Participants
  • Parent commits c5c976a

Comments (0)

Files changed (1)

File src/wheezy/html/utils.py

         'date': date_format_provider,
         'time': lambda value, format_spec: value.strftime(
             str(format_spec or '%H:%M')),
-        'datetime': datetime_format_provider
+        'datetime': datetime_format_provider,
+        'NoneType': lambda value, format_spec: ''
 }