Skip to content

Commit 2d9bea5

Browse files
authored
EU <-> US examples
1 parent 66ea4d7 commit 2d9bea5

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

modules/ROOT/pages/deprecations-additions-removals-compatibility.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ label:new[]
3838
[source, cypher, role="noheader"]
3939
----
4040
WITH datetime('1986-11-18T6:04:45.123456789+01:00[Europe/Berlin]') AS dt
41-
RETURN format(dt, "MM/dd/yyyy") AS EU, format(dt, "dd/MM/yyyy") AS US
41+
RETURN format(dt, "MM/dd/yyyy") AS US, format(dt, "dd/MM/yyyy") AS EU
4242
----
4343

4444
| Cypher's new xref:functions/temporal/format.adoc[`format()`] function can create dynamically formatted string representations of temporal instance and duration types.

modules/ROOT/pages/functions/temporal/format.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,14 @@ Use the characters in xref:#query-functions-temporal-format-instance-types-chara
4949
[source, cypher, indent=0]
5050
----
5151
WITH datetime('1986-11-18T6:04:45.123456789+01:00[Europe/Berlin]') AS dt
52-
RETURN format(dt, "MM/dd/yyyy") AS EU, format(dt, "dd/MM/yyyy") AS US
52+
RETURN format(dt, "MM/dd/yyyy") AS US, format(dt, "dd/MM/yyyy") AS EU
5353
----
5454
5555
.Result
5656
[role="queryresult",options="header,footer",cols="2*<m"]
5757
|===
5858
59-
| EU | US
59+
| US | EU
6060
| "11/18/1986" | "18/11/1986"
6161
2+d|Rows: 1
6262

modules/ROOT/pages/values-and-types/temporal.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1761,14 +1761,14 @@ Using Cypher's xref:/functions/temporal/format.adoc#_instance_types[`format()` f
17611761
[source, cypher, indent=0]
17621762
----
17631763
WITH datetime('1986-11-18T6:04:45.123456789+01:00[Europe/Berlin]') AS dt
1764-
RETURN format(dt, "MM/dd/yyyy") AS EU, format(dt, "dd/MM/yyyy") AS US
1764+
RETURN format(dt, "MM/dd/yyyy") AS US, format(dt, "dd/MM/yyyy") AS EU
17651765
----
17661766
17671767
.Result
17681768
[role="queryresult",options="header,footer",cols="2*<m"]
17691769
|===
17701770
1771-
| EU | US
1771+
| US | EU
17721772
| "11/18/1986" | "18/11/1986"
17731773
2+d|Rows: 1
17741774

0 commit comments

Comments
 (0)