From 4b2237acc422538a458a07d65834f478f5a00de2 Mon Sep 17 00:00:00 2001 From: Cr4xy Date: Wed, 13 Jul 2022 18:47:06 +0200 Subject: meta: make osdate accept strings --- meta/template/os.lua | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'meta') diff --git a/meta/template/os.lua b/meta/template/os.lua index c6af18cd..760c029a 100644 --- a/meta/template/os.lua +++ b/meta/template/os.lua @@ -11,21 +11,21 @@ function os.clock() end ---@class osdate ---#DES 'osdate.year' ----@field year integer +---@field year integer|string ---#DES 'osdate.month' ----@field month integer +---@field month integer|string ---#DES 'osdate.day' ----@field day integer +---@field day integer|string ---#DES 'osdate.hour' ----@field hour integer +---@field hour integer|string ---#DES 'osdate.min' ----@field min integer +---@field min integer|string ---#DES 'osdate.sec' ----@field sec integer +---@field sec integer|string ---#DES 'osdate.wday' ----@field wday integer +---@field wday integer|string ---#DES 'osdate.yday' ----@field yday integer +---@field yday integer|string ---#DES 'osdate.isdst' ---@field isdst boolean -- cgit v1.2.3