-
Notifications
You must be signed in to change notification settings - Fork 495
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
Fixes #2748: apoc.temporal.toZonedTemporal missing in temporal docs page #2821
Conversation
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.
The new docs looks good, just two minor comments.
@@ -273,7 +273,7 @@ This function parses a date string in a specified format and converts it to a Ne | |||
|
|||
[NOTE] | |||
==== | |||
This function has been renamed to `apoc.temporal.toZonedDateTime` and moved to the temporal section. | |||
This function has been renamed to `apoc.temporal.toZonedTemporal` and moved to the temporal section. |
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.
Maybe this could be rephrased so it is even clearer thatapoc.date.parseAsZonedDateTime
function is deprecated and apoc.temporal.toZonedTemporal
is what should be used instead?
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.
Changed
@@ -48,7 +48,7 @@ Furthermore, we can specify a `maxDepth` to consider cycles with only `n` interm | |||
MATCH (m1:Start) WITH collect(m1) as nodes CALL apoc.nodes.cycles(nodes, {maxDepth: 1}) YIELD path RETURN path | |||
---- | |||
|
|||
image::cycles_max_depth_1.png | |||
image::cycles_max_depth_1.png[width=800] |
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.
This change feels unrelated, was it intentional?
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.
Yes, without the [width=800]
(more precisely without square brackets), the image is not rendered.
@@ -273,7 +273,7 @@ This function parses a date string in a specified format and converts it to a Ne | |||
|
|||
[NOTE] | |||
==== | |||
This function has been renamed to `apoc.temporal.toZonedDateTime` and moved to the temporal section. | |||
This function has been deprecated by `apoc.temporal.toZonedTemporal`, therefore it's recommended to use this one instead. |
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.
This function has been deprecated by `apoc.temporal.toZonedTemporal`, therefore it's recommended to use this one instead. | |
This function has been deprecated by `apoc.temporal.toZonedTemporal`, therefore it's recommended to use that one instead. |
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 think this might be clearer?
Fixes #2748
Other docs fixes:
apoc.nodes.cycles.adoc