Skip to content
This repository has been archived by the owner on Feb 27, 2023. It is now read-only.

Commit

Permalink
Use a specific date - do not merge
Browse files Browse the repository at this point in the history
  • Loading branch information
rmader committed Jul 8, 2020
1 parent 87ec970 commit 12b5171
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/ideas/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@ def get_fields(self):
names.append('id')
header.append('Idea ID')

sdate = datetime.now() - timedelta(days=30)
for i in range(30):
sdate = datetime.strptime("08/06/2020", "%d/%m/%Y")
for i in range(12):
day = sdate + timedelta(days=i)
names.append(day)
header.append(str(day))
Expand Down

0 comments on commit 12b5171

Please sign in to comment.