Fix some 'strftime' typos

This commit is contained in:
Lance Edgar 2016-06-13 10:14:51 -05:00
parent 8f0ac0fa71
commit 686ae1b657

View file

@ -242,7 +242,7 @@ class TimeSheetView(View):
if saturday.year == sunday.year:
week_of = '{} - {}'.format(sunday.strftime('%a %b %d'), saturday.strftime('%a %b %d, %Y'))
else:
week_of = '{} - {}'.format(sunday.strftime('%a %b %d, Y'), saturday.strftime('%a %b %d, %Y'))
week_of = '{} - {}'.format(sunday.strftime('%a %b %d, %Y'), saturday.strftime('%a %b %d, %Y'))
self.modify_employees(employees, weekdays)
@ -284,7 +284,7 @@ class TimeSheetView(View):
if saturday.year == sunday.year:
week_of = '{} - {}'.format(sunday.strftime('%a %b %d'), saturday.strftime('%a %b %d, %Y'))
else:
week_of = '{} - {}'.format(sunday.strftime('%a %b %d, Y'), saturday.strftime('%a %b %d, %Y'))
week_of = '{} - {}'.format(sunday.strftime('%a %b %d, %Y'), saturday.strftime('%a %b %d, %Y'))
if employee:
self.modify_employees([employee], weekdays)