Dealing with time and date data in PDFs
By default, PDF Potion operates in the UTC time zone. This can result in cases where time/date data in a PDF does not accurately match the time/date in the user's local timezone.
You can ensure the date/time data in the PDF reflects the user's own local timezone by following these steps:
- Install the Time zone ID plugin (it's free) from the Bubble plugin marketplace
- Add the Time Zone ID element to the page in your Bubble app that you're generating PDFs from
- Reference the Time Zone ID element's exposed state (which is called 'Browser's Time Zone ID') in the 'Time Zone ID' field of the 'Create PDF' action
Any time/data in the PDF generated by PDF Potion will now reflect the user's own time zone.