GithubHelp home page GithubHelp logo

Comments (4)

rocpic avatar rocpic commented on July 3, 2024

So I went back to http://feed2js.org and pasted in the RSS feed from google, and if you include the date and time setting your preview will come up blank. I'm going to edit it out of my pages for now.

from feed2js.

rocpic avatar rocpic commented on July 3, 2024

I moved the old index to http://rocpic.com/news/dateindex.html the http://rocpic.com/news works without dates.

from feed2js.

cogdog avatar cogdog commented on July 3, 2024

I can confirm this is happening when you enter an offset value for the time zone. if you leave it as the default value you get the dates. I am testing some things, first will be suppressing error warnings in the output (that should be off). There is a date_default_timezone_set() declared in the setup functions, not quite sure why this is tripping that message.

from feed2js.

bateller avatar bateller commented on July 3, 2024

Is there a specific feed or configuration value that causes this error to occur? If I can pinpoint what throws the error I can fix it.

date_default_timezone_set should be the preferred method to set a timezone. Although we might want to sterilize that input first (to make sure invalid values aren't sent).

Another option would be to set the date via ini_set('date.timezone')

My apologies if this has already been taken care of... I just came across this issue when browsing the feed2js development tree to make sure I had www.feed2js.org up to date.

Thanks,
Brian

from feed2js.

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.