Software /
code /
prosody
Annotate
teal-src/util/datetime.d.tl @ 12817:176fd3ea505c
util.openmetrics: Update tools.ietf.org URL to datatracker
See bd9e006a7a74 for more context
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 19 Dec 2022 23:11:42 +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 |