Skip to content

Commit e9e9c1d

Browse files
committed
Format
1 parent 35c4044 commit e9e9c1d

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

exercises/practice/gigasecond/.meta/spec_generator.lua

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ local function components(moment)
33
end
44

55
local function map_to_num(...)
6-
local t = {...}
6+
local t = { ... }
77
for i, str in ipairs(t) do
88
if str ~= nil and str ~= '' then
99
t[i] = tonumber(str)
@@ -28,9 +28,6 @@ return {
2828
local expected = os.date('!%%x', momentB)
2929
assert.are.equals(expected, actual)]]
3030

31-
return template:format(
32-
year, month, day, hour, min, sec,
33-
e_year, e_month, e_day, e_hour, e_min, e_sec
34-
)
31+
return template:format(year, month, day, hour, min, sec, e_year, e_month, e_day, e_hour, e_min, e_sec)
3532
end
3633
}

0 commit comments

Comments
 (0)