Skip to content

Improve the os.time type definition#2338

Open
tapple wants to merge 2 commits intoluau-lang:masterfrom
tapple:os.time-definition
Open

Improve the os.time type definition#2338
tapple wants to merge 2 commits intoluau-lang:masterfrom
tapple:os.time-definition

Conversation

@tapple
Copy link
Copy Markdown

@tapple tapple commented Apr 7, 2026

os.time can return nil if you pass an out-of-range DateTimeArg:

> os.time({year=9, day=12, month=12})
nil

Modified the definition to reflect that

@tapple tapple changed the title Improve the os.time definition Improve the os.time type definition Apr 7, 2026
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.

1 participant