Skip to content

Bug in os.time? #203

Description

@EzequielHiran

Hi, I am using fengari to create a client side framework, but I have noticed os.time fails with some valid dates.

os.time({year=2065, month=8, day=1})
gives TypeError: invalid argument

Any date with a year above 2030 fails. Is this a bug?
I tried this in standard lua and it doesn't fail.

By the way, great job, I love fengari

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions