Commit 1780043a authored by Ralf's avatar Ralf
Browse files

move Date.UTC call to helper function

parent d5941979
function make_time(year, month, day, hour) {
return Date.UTC(year, month-1 /* 0 = January */, day, hour, 0, 0)/1000
}
const regions = { const regions = {
"saarbruecken": { "saarbruecken": {
domain: "sb", domain: "sb",
switch_time: -1, // Date.UTC(2020, 12-1 /* 0 = January */, 2, 12, 0, 0)/1000, switch_time: -1,
}, },
"st-wendel": { "st-wendel": {
domain: "wnd", domain: "wnd",
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment