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

Fixes #2748: apoc.temporal.toZonedTemporal missing in temporal docs page #2821

Merged
merged 3 commits into from
May 19, 2022

Conversation

vga91
Copy link
Collaborator

@vga91 vga91 commented Apr 27, 2022

Fixes #2748

Other docs fixes:

  • image in apoc.nodes.cycles.adoc

Copy link
Contributor

@Lojjs Lojjs left a 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.
Copy link
Contributor

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?

Copy link
Collaborator Author

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]
Copy link
Contributor

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?

Copy link
Collaborator Author

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.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
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.

Copy link
Contributor

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?

@Lojjs Lojjs added the 4.4 label May 18, 2022
@vga91 vga91 merged commit aebd7e6 into neo4j-contrib:4.4 May 19, 2022
neo4j-oss-build pushed a commit that referenced this pull request May 19, 2022
…age (#2821)

* Fixes #2748: apoc.temporal.toZonedTemporal missing in temporal docs page

* changed note deprecation

* small doc change
neo4j-oss-build pushed a commit that referenced this pull request May 19, 2022
…age (#2821)

* Fixes #2748: apoc.temporal.toZonedTemporal missing in temporal docs page

* changed note deprecation

* small doc change
vga91 pushed a commit that referenced this pull request May 20, 2022
neo4j-oss-build added a commit that referenced this pull request May 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

apoc.temporal.toZonedTemporal missing in temporal docs page
3 participants