prozorro_sale.jobber.packages.announcement.utils
# todo: make similar calculation as auction start date above
duration_str = build_duration_str(duration_data)
start_from = datetime.now()
end_time = None
local_tz = get_app_tz()
if "days" in duration_str:
# business requirements do not include the day which is now
start_from_offset = timedelta(days=1)
start_from = start_from + start_from_offset
# valid time to start auction; procedure service overwrite it by itself into correct time
end_time = "12:00"