Skip to content

Commit

Permalink
fixed end date
Browse files Browse the repository at this point in the history
  • Loading branch information
dixita9 committed Jul 17, 2024
1 parent fe7af93 commit 064083d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/templates/admin/createEvent.html
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ <h1>{{page_title}}</h1>
<label class="required form-label me-2" for="endDate-{{pageLocation}}" ><strong>End Date</strong></label>
<div class='input-group date endDate' id="endDate-{{pageLocation}}" data-page-location="{{pageLocation}}">
<input autocomplete="off" type='date' class="form-control datePicker endDatePicker" id='endDatePicker-{{pageLocation}}'
value="{{eventData.endDate.strftime('%m/%d/%Y') if eventData.endDate and eventData.endDate.strftime else eventData.endDate}}"
value="{{eventData.endDate.strftime('%Y-%m-%d') if eventData.endDate and eventData.endDate.strftime else eventData.endDate}}"
name="endDate" placeholder="Pick an end date" data-page-location="{{pageLocation}}">
</div>
</div>
Expand Down

0 comments on commit 064083d

Please sign in to comment.