Skip to content

Commit

Permalink
Merge branch 'a147507835786738_normal_days'
Browse files Browse the repository at this point in the history
  • Loading branch information
vmaksymiv committed Jul 18, 2016
2 parents 6d8fd55 + eac8e9b commit 21fd04b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openprocurement/tender/openua/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@

def calculate_normalized_date(dt, tender, ceil=False):
if (tender.revisions[0].date if tender.revisions else get_now()) > NORMALIZED_COMPLAINT_PERIOD_FROM and \
not (SANDBOX_MODE and tender.submissionMethodDetails and u'quick' in tender.submissionMethodDetails):
not (SANDBOX_MODE and tender.procurementMethodDetails):
if ceil:
return dt.astimezone(TZ).replace(hour=0, minute=0, second=0, microsecond=0) + timedelta(days=1)
return dt.astimezone(TZ).replace(hour=0, minute=0, second=0, microsecond=0)
Expand Down

0 comments on commit 21fd04b

Please sign in to comment.