Skip to content
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

Fixing 2 broken links in Dates documentation #21511

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions doc/src/manual/dates.md
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,7 @@ julia> round(DateTime(2016, 8, 6, 20, 15), Dates.Day)
Unlike the numeric [`round()`](@ref) method, which breaks ties toward the even number by default,
the [`TimeType`](@ref)[`round()`](@ref) method uses the `RoundNearestTiesUp` rounding mode. (It's
difficult to guess what breaking ties to nearest "even" [`TimeType`](@ref) would entail.) Further
details on the available `RoundingMode` s can be found in the [API reference](https://docs.julialang.org/en/latest/stdlib/dates.html).
details on the available `RoundingMode` s can be found in the [API reference](https://docs.julialang.org/en/stable/stdlib/dates/).
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If I'm not mistaken, I think this can be [API reference](@ref Dates), which will tell Documenter to link to the Dates section.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That applies to master though; the 0.5 series doesn't use Documenter for docs.


Rounding should generally behave as expected, but there are a few cases in which the expected
behaviour is not obvious.
Expand Down Expand Up @@ -624,5 +624,5 @@ will result in the months field having an odd value. Because both months and yea
an irregular number of days, whether rounding to an even number of days will result in an even
value in the days field is uncertain.

See the [API reference](https://docs.julialang.org/en/latest/stdlib/dates.html) for additional information
See the [API reference](https://docs.julialang.org/en/stable/stdlib/dates/) for additional information
on methods exported from the `Dates` module.