Add custom function option for UUID generation (#194)

* add custom function option for UUID generation

* add docs for new UUID custom function option
This commit is contained in:
skovati
2023-01-02 11:27:38 +00:00
committed by GitHub
parent acc5f0e333
commit 8d3f97b729
3 changed files with 20 additions and 7 deletions

View File

@@ -243,8 +243,9 @@ telekasten.setup({opts})
*telekasten.settings.uuid_type*
uuid_type: ~
Type of UUID. Could be 'rand' for a random 6 character string, or a
time format to input in os.date() such as %Y%m%d%H%M.
Type of UUID. Could be 'rand' for a random 6 character string, a
time format to input in os.date() such as '%Y%m%d%H%M', or any lua
function like os.time() that returns a string.
Default: '%Y%m%d%H%M'