mirror of
https://github.com/sartography/sample-process-models.git
synced 2025-02-23 05:08:11 +00:00
User: alex clicked save for shared/local-date-and-time/shared_local_date_time.bpmn
This commit is contained in:
parent
00d924a021
commit
791a5e2b37
@ -24,7 +24,7 @@ except NameError:
|
||||
time_format = "24"
|
||||
|
||||
utc_date_time_obj = datetime.utcnow()
|
||||
local_date_time_obj = get_localtime(utc_date_time_obj, timezone)
|
||||
local_date_time_obj = get_localtime(utc_date_time_obj, time_zone)
|
||||
|
||||
if date_format == "YMD":
|
||||
local_date_str = local_date_time_obj.strftime('%Y-%m-%d')
|
||||
|
Loading…
x
Reference in New Issue
Block a user