8000 documentation: fix date_compare example (#4714) · Sandychuang/arangodb@939b20f · GitHub
[go: up one dir, main page]

Skip to content

Commit 939b20f

Browse files
baslrmchacki
authored andcommitted
documentation: fix date_compare example (arangodb#4714)
1 parent 26fa23f commit 939b20f

File tree

1 file changed

+1
-1
lines changed
  • Documentation/Books/AQL/Functions

1 file changed

+1
-1
lines changed

Documentation/Books/AQL/Functions/Date.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -566,7 +566,7 @@ DATE_COMPARE("1985-04-04", DATE_NOW(), "months", "days")
566566

567567
// Will only match on one day if the current year is a leap year!
568568
// You may want to add or subtract one day from date1 to match every year.
569-
DATE_COMPARE("1984-02-29", DATE_NOW(), "months", days")
569+
DATE_COMPARE("1984-02-29", DATE_NOW(), "months", "days")
570570

571571
// compare years, months and days (true, because it's the same day)
572572
DATE_COMPARE("2001-01-01T15:30:45.678Z", "2001-01-01T08:08:08.008Z", "years", "days")

0 commit comments

Comments
 (0)
0