Increase time
This commit is contained in:
@@ -671,7 +671,7 @@ def calendar_data(current_user):
|
|||||||
dList = []
|
dList = []
|
||||||
sample_range = random.randint(20, 60)
|
sample_range = random.randint(20, 60)
|
||||||
for x in range(sample_range):
|
for x in range(sample_range):
|
||||||
calDate = datetime.datetime.utcnow() + datetime.timedelta(minutes=720 * random.randint(0, 20))
|
calDate = datetime.datetime.utcnow() + datetime.timedelta(minutes=1440 * random.randint(0, 20))
|
||||||
new_l = {"uid":"425611f2-c692-4404-b93d-76ca7a5ce7"+str(x), "title": "Calendar Random Item on " + str(x) , "start": calDate, "category":random.randint(1, 4) }
|
new_l = {"uid":"425611f2-c692-4404-b93d-76ca7a5ce7"+str(x), "title": "Calendar Random Item on " + str(x) , "start": calDate, "category":random.randint(1, 4) }
|
||||||
dList.append(new_l)
|
dList.append(new_l)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user