-
Notifications
You must be signed in to change notification settings - Fork 664
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
adds TZ info to all CFP start/end/announce dates #5213
adds TZ info to all CFP start/end/announce dates #5213
Conversation
Currently a merge conflict b/c I need to update a few dates that got changed since I started the PR. Fix coming shortly. |
5a82bae
to
d3c53ff
Compare
Merged conflict fixed. |
d3c53ff
to
17e2aaa
Compare
I was just re-testing this locally and while this solves devopsdays/devopsdays-theme#476 it doesn't solve https://github.com/devopsdays/devopsdays-theme/issues/487 like I hoped. That appears to be entirely client-side where we have just the |
I have another half-finished commit waiting in the wings to add this data to start/end dates and registration dates, but I want to verify that we really want to do that for those before I wrap it up. |
@tgross, thanks! indeed, I'm not sure about that. I do have a possibly-confusing "what even is timezones" question, though - specifically, when an event says their CFP "closes" on a specific "day", I think the common interpretation is "23:59:59 in that timezone". That is to say, if a CFP closes on 2018-01-01, you have all day long on the 1st of January to get your submission in. If I am understanding time correctly (not entirely a given!), I think what we're seeing here in this very welcome and helpful PR is "close the CFP the instant it becomes January 1st!" which is probably not a desirable default, as it may confuse the organizers who are thinking of the day as being "end of day" and not noticing the change. Thoughts? |
Yeah from a user experience that's definitely something I hadn't considered. We could change the end times to be 23:59? Also, how does that actually work given this is a static site? Is it getting periodically re-rendered on a timer? |
I think that would probably be wise. Let's assume that anyone who wants their CFP to close at 7pm or whatever would change it from the default, but I think that in the absence of clarifying details, people proposing talks would assume 23:59 conference-location-local time.
The devopsdays.org site gets built and pushed to production whenever we merge a pull request. There are a few elements that will update more frequently (the one that comes to mind is the twitter feed box on the front page and on some event sites), but yes, the site isn't date-aware to the point that it would rebuild based on the date itself alone. However, if you look at the commit history, and consider that we have 70 active events for 2018, you can see that we probably don't need to spend cycles adding a "build if it hasn't built for a while". 😀 |
One quick |
I think we came down at "yes" for this (when we do the next theme release). Looking at this work-in-progress I see some cities missing from your "let's update all the 2018/2019 events"? You can see this if you check out the So, before we merge this I think we may want to make sure they're all up to date (I realize this is a moving target!) In terms of timing for merging this, we also may want to wait until after the code release that supports this, because the current codebase just shows the entire string which will look a little confusing. |
Yeah, just to avoid a bunch of rework I'll hold off on making that data fix until the theme update gets deployed. But once that's been done I'll knock that out. |
Just want to confirm that we can roll out the theme changes you've done so far without this PR? |
Yes. 👍 |
Tested this by testing various cfp closure datetimes for one of the events and watching it appear/disappear from the speaking page. Also checked to make sure the |
Thanks. I'm going to merge this PR because it will work now and there's no reason to leave it lingering. Happy to take more such data-fixing PRs now! |
For devopsdays/devopsdays-theme#476 and
https://github.com/devopsdays/devopsdays-theme/issues/487.Data changes to take advantage of the template updates in devopsdays/devopsdays-theme#641