-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
feat: add time API guide #3599
feat: add time API guide #3599
Conversation
3c0f24e
to
6f67a14
Compare
157bf96
to
5fdb258
Compare
e7dc251
to
021d99c
Compare
c1c70b3
to
88fece5
Compare
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.
Greate guide! Some minor fixes, feel free to apply or reject
A couple of suggestions:
- I don't think some of the code blocks require sampleStart/ sampleEnd, some of them are already very short. BTW, some sampleStart/ sampleEnd are indented, some are not. Not sure if it affects the appearance, but usually we don't indent these lines
- Have you considered a "What's next" section? the last sentence can be a candidate
871b6f2
to
4c9b636
Compare
Thanks @danil-pavlov! I fixed the indentation. I've kept the code blocks short because quite a few have the same import lines repeated and I wanted to avoid duplication on the page. I thought about a "What's next" section but I noticed that the other guides don't have one so I've not added one for consistency. |
Add a guide for the Stable time API introduced in 1.9.0.