Giter Site home page Giter Site logo

Comments (6)

sternb0t avatar sternb0t commented on June 16, 2024

Thanks for the note @Jared-Williams. This is actually an issue that we ran into with our hosting provider (on WordPress.com). I'll let @joshlevinson comment on this further, but we're actually in the process of deploying the newer version on Observer.com since WP.com doesn't want us using date_default_timezone_set().

However this may be something we want to test for and provide a fallback with UTC or something like that?

from eight-day-week.

joshlevinson avatar joshlevinson commented on June 16, 2024

Hi, @Jared-Williams! Thanks for the report.
Can you tell me what is set on your WordPress install for the timezone/offset (under Settings -> General)? I'm assuming it may be a GMT offset, which wasn't previously accounted for. It is now in #8.

from eight-day-week.

Jared-Williams avatar Jared-Williams commented on June 16, 2024

Yea sure, it's UTC-6. I can revert and see if that works on my end. @joshlevinson

from eight-day-week.

joshlevinson avatar joshlevinson commented on June 16, 2024

@Jared-Williams No worries, I'd like to know this works in your setup, not have your setup bow to the current implementation of this plugin :-)
Can you confirm that the latest master (as of #8 being merged) fixes your issue with your offset being -6?
Thanks!

from eight-day-week.

Jared-Williams avatar Jared-Williams commented on June 16, 2024

Hey @joshlevinson sorry for the delay in getting back with you. I updated to the latest version of the plugin and the error returns upon export

{"success":false,"data":{"message":"DateTimeZone::__construct(): Unknown or bad timezone ()","_ajax_nonce":"d07eec4ba8"}}

When I changed it to say, "Chicago", it works fine. I can easily just keep it at Chicago instead of GMT offset.

from eight-day-week.

adamsilverstein avatar adamsilverstein commented on June 16, 2024

@Jared-Williams I pushed a fix for this issue in #32 - if you have a chance, can you give it a test?

from eight-day-week.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.