convert config time to utc
This commit is contained in:
parent
a07a538b29
commit
5c22739c85
@ -23,8 +23,8 @@ class Season {
|
|||||||
this.seasonList = [];
|
this.seasonList = [];
|
||||||
metaFactory.traverseMetaList("RankSeason", (config, idx) => {
|
metaFactory.traverseMetaList("RankSeason", (config, idx) => {
|
||||||
this.seasonList.push({
|
this.seasonList.push({
|
||||||
start_time: new Date(config.start_time).getTime()/1000,
|
start_time: new Date(config.start_time+" GMT+0000").getTime()/1000,
|
||||||
end_time: new Date(config.end_time).getTime()/1000,
|
end_time: new Date(config.end_time+" GMT+0000").getTime()/1000,
|
||||||
id: config.id
|
id: config.id
|
||||||
});
|
});
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user