浏览代码

[Docs] Fix Date Math example descriptions (#28125)

Andrew Banchich 7 年之前
父节点
当前提交
a58dc8d82c
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      docs/reference/api-conventions.asciidoc

+ 2 - 2
docs/reference/api-conventions.asciidoc

@@ -218,8 +218,8 @@ The supported units are:
 Assuming `now` is `2001-01-01 12:00:00`, some examples are:
 
 `now+1h`:: `now` in milliseconds plus one hour. Resolves to: `2001-01-01 13:00:00`
-`now-1h`:: `now` in milliseconds plus one hour. Resolves to: `2001-01-01 11:00:00`
-`now-1h/d`:: `now` in milliseconds rounded down to UTC 00:00. Resolves to: `2001-01-01 00:00:00``
+`now-1h`:: `now` in milliseconds minus one hour. Resolves to: `2001-01-01 11:00:00`
+`now-1h/d`:: `now` in milliseconds minus one hour, rounded down to UTC 00:00. Resolves to: `2001-01-01 00:00:00``
  `2001-01-01\|\|+1M/d`:: `now` in milliseconds plus one month. Resolves to: `2001-02-01 00:00:00`
 
 [float]