Skip to content

os_time match lua - #6

Open
admintoth wants to merge 1 commit into
sync-upstream-mainfrom
chore/os-time-match-lua
Open

admintoth wants to merge 1 commit into
sync-upstream-mainfrom
chore/os-time-match-lua

Conversation

@admintoth

Copy link
Copy Markdown

Ref: https://linear.app/turnio/issue/PROD-6735/fix-lua-app-error-with-osdate-and-ostime#comment-6eb296de

os.time normalises out-of-range date-table fields the way C mktime does
(e.g. day = 0 is the last day of the previous month, month = 13 is
January of the next year) instead of raising a MatchError

@admintoth
admintoth requested a review from smn September 17, 2026 02:59
@admintoth admintoth self-assigned this Sep 17, 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.

3 participants