Jump to content

Pdf Invoice Dates Incorrect


flangefrog

Recommended Posts

  1. PDF invoice dates for blesta users in certain time zones are not correct.
  2. For example, in a UTC+12 timezone an invoice created on the 25th would show it was created on the 24th on the PDF.
  3. N/A
  4. admin/clients/viewinvoice/
  5. N/A
  6. Blesta 3.2.1, PHP 5.5.13

I was playing around with this issue today and implemented a temporary fix. The model supplies the dates in UTC, and when they are displayed in the admin area they are converted to the correct timezone by the date helper. The PDF invoice template however does not use the date helper or any substitute and thus does not show the date in the correct timezone.

 

Refer to http://www.blesta.com/forums/index.php?/topic/1977-invoice-dates-incorrect/

Link to comment
Share on other sites

  • 1 month later...
  • 2 weeks later...
Guest
This topic is now closed to further replies.
×
×
  • Create New...