指定为第二个时,Gerrit 时间搜索运算符不起作用

Gerrit time search operators is not working when specify to second

如果我使用

/changes/?q=status:merged+after:2018-08-25

可以return结果,

但是如果使用

/changes/?q=status:merged+after:2018-08-25 00:00:00

它returns []

根据document可以这样查询时间

[[after_since]] after:'TIME'/since:'TIME':: + Changes modified after the given 'TIME', inclusive. Must be in the format `2006-01-02[ 15:04:05[.890][ -0700]]`; omitting the time defaults to 00:00:00 and omitting the timezone defaults to UTC. 指定时间到秒时如何查询?是不是我的参数格式不对?

使用时:

/changes/?q=status:merged+after:2018-08-25 00:00:00

只有 2018-08-25 部分被用作 after: 值。 00:00:00 部分用作自由文本查询词。

after: 的值应该用引号引起来:

/changes/?q=status:merged+after:"2018-08-25 00:00:00"

当 运行:

时出现 400 Bad Request 错误
/changes/?q=status:merged+after:2018-08-25 00:00:00

解决的方法是将时间用引号括起来,但我还需要用加号替换日期和时间之间的space。例如:

/changes/?q=status:merged+after:"2018-08-25+00:00:00"```