Week number (#6439)

* Support week number for batch generation

* Bug fix - hour is not minute

* Update docs
This commit is contained in:
Oliver authored and GitHub committed 2024-02-07 11:36:20 +11:00
1 parent 55949e5321
commit fdd70263ea
2 files changed
+15 -1

No files matched your search

+2 -1
View File
@@ -324,8 +324,9 @@ def generate_batch_code():
'year': now.year,
'month': now.month,
'day': now.day,
'hour': now.minute,
'hour': now.hour,
'minute': now.minute,
'week': now.isocalendar()[1],
}
return Template(batch_template).render(context)