get dates timeperiod updates to work better with local time zones
This commit is contained in:
@@ -30,6 +30,7 @@ class TrainingPlanTest(TestCase):
|
||||
self.r = Rower.objects.create(user=self.u,
|
||||
birthdate=faker.profile()['birthdate'],
|
||||
gdproptin=True,surveydone=True,
|
||||
defaulttimezone='US/Pacific',
|
||||
gdproptindate=timezone.now(),
|
||||
rowerplan='coach')
|
||||
|
||||
@@ -1238,6 +1239,7 @@ class PlannedSessionsView(TestCase):
|
||||
birthdate=faker.profile()['birthdate'],
|
||||
gdproptin=True,surveydone=True,
|
||||
gdproptindate=timezone.now(),
|
||||
defaulttimezone='US/Pacific',
|
||||
rowerplan='coach')
|
||||
self.r.save()
|
||||
self.c = Client()
|
||||
|
||||
Reference in New Issue
Block a user