From 686ae1b657171891d79ad478965af29468fc125c Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Mon, 13 Jun 2016 10:14:51 -0500 Subject: [PATCH] Fix some 'strftime' typos --- tailbone/views/shifts/lib.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tailbone/views/shifts/lib.py b/tailbone/views/shifts/lib.py index b2d1bc41..23c6e20b 100644 --- a/tailbone/views/shifts/lib.py +++ b/tailbone/views/shifts/lib.py @@ -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)