Skip to content
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
Cannot retrieve contributors at this time
title: Date as object
documentation: ""
example start: 1
example end: 3
question: |
When did you file the complaint?
- Date: date_of_filing
datatype: date
code: |
response_deadline =
christmas = response_deadline.replace(month=12, day=25)
mandatory: True
question: |
% if christmas > response_deadline:
Your response is due
${ int(date_difference(starting=date_of_filing, ending=christmas).weeks) }
weeks before Christmas.
% else:
Your response is due soon after Christmas!
% endif