-
-
Notifications
You must be signed in to change notification settings - Fork 607
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
Clean up time tutorial #6920
Clean up time tutorial #6920
Conversation
This comment was marked as resolved.
This comment was marked as resolved.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree that this is an improvement over what was here previously, but I think this section of the tutorial could still do with some major restructuring. Currently, it still is in a more how-to format than tutorial. In particular, I think this section could be structured in three sections:
- Parsing time
- Arithmetic with time
- Time ranges
In section 1, we could parse two times (from different formats), perform some (very basic) arithmetic with them in section 2, and then construct a time range from them in section 3.
We are pretty late in the game for 5.0 so if these changes feel like to much for this PR, I'm ok punting this larger rewrite to 5.1.
Co-authored-by: Nabil Freij <nabil.freij@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll create another issue with my other suggestions. I think this is a big improvement and is a better compliment to our new how-to for parsing time.
Co-authored-by: Will Barnes <will.t.barnes@gmail.com>
Fixes #6863. Not perfect, but a lot better and good enough for 5.0 I think.