Software / code / prosody
File
teal-src/util/datetime.d.tl @ 12513:6efbcd52db21
net.server_epoll: Move call to refresh remote IP address out of wrapper
Reduces the side effects of wrapsocket()
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Fri, 16 Jul 2021 00:56:45 +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