Software /
code /
prosody
Annotate
teal-src/util/datetime.d.tl @ 12965:edde56b60fd7
scansion: Fix tests failing due to lack of 'publisher'
publisher is no longer included by default in broadcasts, but configured via
pubsub#itemreply instead.
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Thu, 23 Mar 2023 14:15:33 +0000 |
parent | 12634:8cb6644ce463 |
rev | line source |
---|---|
11432
113f3912c7cb
util: Add Teal interface definition files
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
1 local record lib |
12634
8cb6644ce463
util.datetime: Update Teal interface description
Kim Alvefur <zash@zash.se>
parents:
11459
diff
changeset
|
2 date : function (t : number) : string |
8cb6644ce463
util.datetime: Update Teal interface description
Kim Alvefur <zash@zash.se>
parents:
11459
diff
changeset
|
3 datetime : function (t : number) : string |
8cb6644ce463
util.datetime: Update Teal interface description
Kim Alvefur <zash@zash.se>
parents:
11459
diff
changeset
|
4 time : function (t : number) : string |
8cb6644ce463
util.datetime: Update Teal interface description
Kim Alvefur <zash@zash.se>
parents:
11459
diff
changeset
|
5 legacy : function (t : number) : string |
8cb6644ce463
util.datetime: Update Teal interface description
Kim Alvefur <zash@zash.se>
parents:
11459
diff
changeset
|
6 parse : function (t : string) : number |
11432
113f3912c7cb
util: Add Teal interface definition files
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
7 end |
113f3912c7cb
util: Add Teal interface definition files
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
8 |
113f3912c7cb
util: Add Teal interface definition files
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
9 return lib |