Skip to content

Meta: make osdate accept strings#1328

Merged
sumneko merged 1 commit into
LuaLS:masterfrom
Cr4xy:master
Jul 14, 2022
Merged

Meta: make osdate accept strings#1328
sumneko merged 1 commit into
LuaLS:masterfrom
Cr4xy:master

Conversation

@Cr4xy
Copy link
Copy Markdown
Contributor

@Cr4xy Cr4xy commented Jul 13, 2022

The os.time function accepts strings as input:

image

With this small change, it works as expected:

image

@sumneko sumneko merged commit d4f2ccb into LuaLS:master Jul 14, 2022
@sumneko
Copy link
Copy Markdown
Collaborator

sumneko commented Jul 14, 2022

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants