Fix some 'strftime' typos
This commit is contained in:
parent
8f0ac0fa71
commit
686ae1b657
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue