Software /
code /
prosody
File
teal-src/util/datetime.d.tl @ 11867:bb20cfd4884f
mod_s2s: Fix logging of <stream:error> consistency with other mods
`reason` was often a table, so the log said "table: 0xptr" or such.
mod_c2s, mod_bosh etc logs the stream error stanza object, so better do
the same. It would be nicer if this was an util.error object, but that
will have to be a future change.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 24 Oct 2021 15:11:01 +0200 |
parent | 11459:86904555bffc |
child | 12634:8cb6644ce463 |
line wrap: on
line source
-- TODO s/number/integer/ once Teal gets support for that local record lib date : function (t : integer) : string datetime : function (t : integer) : string time : function (t : integer) : string legacy : function (t : integer) : string parse : function (t : string) : integer end return lib