Skip to content

Creation date in sales order report #8929

Closed Answered by SchrodingersGat
redondit0 asked this question in Q&A
Discussion options

You must be logged in to vote

Is it possible to retrieve the creation date of a sales order from the report template?

Yes, using {% format_date order.creation_date %}

but using {% format_date date %}, as in the {% block bottom_left %}, shows the date of the previous day

Likely a timezone issue - either the timezone of the server is set incorrectly? format_date defaults to using the server timezone

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@redondit0
Comment options

Answer selected by redondit0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question This is a question report Report/Label generation
2 participants