New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dates displaying off by 1 from shows.yml #1
Comments
|
Ooh that's curious. Thanks for taking the time to check and report it @charles-hood! Unfortunately I cannot check right now as I'm occupied with work stuff right now--the only explanation I could think of is time zone but not sure how exactly (GraphQL uses different time zone setting?). If you open the GraphiQL explorer at |
|
The query shows the same "wrong" date that is displayed by the website. (In other words, not the date that is configured in shows.yml) It is off by one. The file contains 2019-09-01 but the query returns August 31st. { |
|
closed by mistake |
|
I wonder if this has to do with how dates are handled by YAML? |
|
New website using this theme: https://www.thebluebirdtwo.com also experiencing the dates being off by one from what is configured in the shows.yml file. |
|
Even the sample site exhibits this behavior. Unfortunately, for a site deployed to Netlify using the starter, there doesn't appear to be any way to modify the underlying code for the theme itself. (This code is not copied to my local GitHub repository when deployed using the starter. I should probably open a separate issue for this.) const ShowItem = ({ id, name, date, location, info_url, map_url }) => { |
I am running into a weird bug, the dates for the shows are off by one. For example, if I edit shows.yml with an event with a date of 2019-09-01, it shows up as Aug 31st.
thomashindsmedia.netlify.com
The text was updated successfully, but these errors were encountered: