mirror of
https://github.com/tribufu/node-gamedig
synced 2026-05-06 15:17:36 +00:00
Update openttd.js
Fix typo in moment removal
This commit is contained in:
parent
d18176fa71
commit
86009a623f
1 changed files with 1 additions and 1 deletions
|
|
@ -115,7 +115,7 @@ class OpenTtd extends Core {
|
|||
const temp = new Date(0,0,1);
|
||||
temp.setFullYear(0);
|
||||
temp.setDate(daysSinceZero+1);
|
||||
return date.toISOString().split('T')[0];
|
||||
return temp.toISOString().split('T')[0];
|
||||
}
|
||||
|
||||
decode(num,arr) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue