Skip to content

Time arithmetic problem #10

@suporteavancado

Description

@suporteavancado

luatz = require "luatz"
x = luatz.parse.rfc_3339("2017-02-13T00:00:00.000")
x.min = x.min - 14400
x:normalise()
print(x)
2017-02-22T23:60:00.000

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions