Skip to content

allow to set date in the export#24

Merged
individual-it merged 1 commit intomainfrom
setDateInExport
Feb 4, 2026
Merged

allow to set date in the export#24
individual-it merged 1 commit intomainfrom
setDateInExport

Conversation

@individual-it
Copy link
Member

this adds one more flag to the export command, with -d or --date a specific date can be set
That string can be accessed in the template with ExportDate
The flag is optional and will default to now

@phil-davis to use it in our current bill template you would have to set this line
### Detmold {{ now | date "02.01.2006" }}
to
### Detmold {{ mustToDate "2006-01-02" ExportDate | date "02.01.2006" }}

@individual-it individual-it merged commit 0da6716 into main Feb 4, 2026
2 checks passed
@individual-it individual-it deleted the setDateInExport branch February 4, 2026 05:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants