diff options
Diffstat (limited to 'python/Dawn')
| -rw-r--r-- | python/Dawn/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/Dawn/models.py b/python/Dawn/models.py index 74afb7d3..9effbef3 100644 --- a/python/Dawn/models.py +++ b/python/Dawn/models.py @@ -349,7 +349,7 @@ class CDSDeal(db.Model): effective_date = db.Column( db.Date, nullable=False, - default=lambda: previous_twentieth(datetime.date.today()), + default=lambda: previous_twentieth(datetime.date.today() + BDay()), ) maturity = db.Column(db.Date, nullable=False) currency = db.Column(CCY, nullable=False) |
