Commit 2ef4d829 by Don Mitchell

Standardize on get_default_time_display

parent c7046df0
...@@ -220,7 +220,7 @@ def edit_unit(request, location): ...@@ -220,7 +220,7 @@ def edit_unit(request, location):
'section': containing_section, 'section': containing_section,
'create_new_unit_template': Location('i4x', 'edx', 'templates', 'vertical', 'Empty'), 'create_new_unit_template': Location('i4x', 'edx', 'templates', 'vertical', 'Empty'),
'unit_state': unit_state, 'unit_state': unit_state,
'published_date': item.cms.published_date.strftime('%B %d, %Y') if item.cms.published_date is not None else None, 'published_date': get_default_time_display(item.cms.published_date) if item.cms.published_date is not None else None
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment