Private
Public Access
1
0

fixed plan creation form

This commit is contained in:
2024-12-23 14:35:44 +01:00
parent 5b0bfc2718
commit b8ea519589
3 changed files with 3 additions and 2 deletions

View File

@@ -2777,7 +2777,7 @@ def rower_view_instantplan(request, id='', userid=0):
messages.info(request, 'Your Sessions have been added')
url = reverse('plannedsessions_view')
timeperiod = startdate.strftime(
timeperiod = timezone.now().date().strftime(
'%Y-%m-%d')+'/'+enddate.strftime('%Y-%m-%d')
url = url+'?when='+timeperiod