GithubHelp home page GithubHelp logo

Comments (4)

smendis avatar smendis commented on April 20, 2024 4

I have the same issue (No Preview/Source and Date Format issue). I'm running Instant Article Builder in Windows. I even tried getting the latest source. Still the same issue. I see this on the console.
image

from instant-articles-builder.

growlead avatar growlead commented on April 20, 2024

Please use format "c".

from instant-articles-builder.

demetrox avatar demetrox commented on April 20, 2024

for the date-time format just go to your Wordpress admin--> setting --> general --> date format --> copy-paste the format you use. For me, I'm using F j, Y format

from instant-articles-builder.

pestevez avatar pestevez commented on April 20, 2024

Thanks for reporting and thanks to those that chimed in. A couple of thoughts before getting to the specific examples:

  1. We are thinking about enhancing the way we treat dates, I think the best way to go is to be smarter when parsing the standard meta tags that exist to cover publication and modification times. (#43)
  2. This field is not mandatory and will default to the actual time if we don't have the date at the time the Instant Article is created.

With that said, here are the correct formats for the examples provided in this issue:

  • 23 September 2019 --> d F Y OR j FY, depending on how many digits are used for the day of the month.
  • 15 Agustus 2019 --> also d F Y OR j FY.
    • The issue here is that the attribute that you are using has dashes and not spaces (as seen in the screenshot "2019-08-15").
    • One solution would be to use Y-m-d instead or to use the text value as attribute (although I am not sure it is possible. See #43)

I am closing the issue now. I suggest seeing this page for a list of available format options.

from instant-articles-builder.

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.