Menu

#979 New Timezone option overwriting current timezone

v1.0_(example)
closed
timezone (1)
1
2014-10-02
2014-09-30
No

At the bottom of tcpdf_autoconfig.php, you've added the default timezone feature. I understand the need, but by default, for anyone using this library it will overwrite their current php timezone to UTC. I spent the last 4-5 hours tracking down why dates were being written to the database were 4 hours ahead of the current time.

Would a better option be to set the timezone only if one is currently not set? That would have saved me a few hours of debugging. :)

Thanks!

Discussion

  • Henrik Gemal

    Henrik Gemal - 2014-10-01

    Damn I got this by this one too!

    All my time data written to the database are wrong.

     
  • Nicola Asuni

    Nicola Asuni - 2014-10-02
    • status: open --> closed
     
  • Nicola Asuni

    Nicola Asuni - 2014-10-02

    OK Fixed in TCPDF 6.0.095.
    Thank you for reporting this issue.

     

Log in to post a comment.

MongoDB Logo MongoDB