cap server-time: add .000 for microsecs since our clock does not support microsecs
This commit is contained in:
parent
193d4db30c
commit
df06f4c920
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ cap_server_time_process(hook_data *data)
|
|||
time_t ts = rb_current_time();
|
||||
struct MsgBuf *msgbuf = data->arg1;
|
||||
|
||||
strftime(buf, sizeof buf, "%Y-%m-%dT%H:%M:%SZ", gmtime(&ts));
|
||||
strftime(buf, sizeof buf, "%Y-%m-%dT%H:%M:%S.000Z", gmtime(&ts));
|
||||
|
||||
msgbuf_append_tag(msgbuf, "time", buf, CLICAP_SERVER_TIME);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue