Software /
code /
prosody
Annotate
teal-src/util/datetime.d.tl @ 12703:5bda8598a2af
util.crypto: tests: fix some tests that didn't do much (thanks luacheck!)
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sat, 02 Jul 2022 15:27:44 +0100 |
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 |