Increase time

This commit is contained in:
CHIEFSOFT\ameye
2025-01-22 11:35:13 -05:00
parent 877140a941
commit 768b8cd281
+1 -1
View File
@@ -671,7 +671,7 @@ def calendar_data(current_user):
dList = []
sample_range = random.randint(20, 60)
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) }
dList.append(new_l)