diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2017-04-13 17:33:34 +0200 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2017-04-13 17:33:34 +0200 |
| commit | 8a2c918e332d5d19b312bf3fd9672cc4d3cdce4b (patch) | |
| tree | 83977b98bcfe97b7fe5c5977f4ad225a44e66771 | |
| parent | 836dfe426c5681c68995d825e67305e8d09536ca (diff) | |
| download | shrinker-8a2c918e332d5d19b312bf3fd9672cc4d3cdce4b.tar.gz shrinker-8a2c918e332d5d19b312bf3fd9672cc4d3cdce4b.zip | |
fix patch association
| -rw-r--r-- | worker.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -418,7 +418,7 @@ function snakeCaseKeys(obj) { // (Sayoc = Taka) p.hero_id = hero_db_map[hero_name_map[participant.actor]]; // TODO don't hardcode this, waiting for `match.patch_version` to be available - if (p_s.created_at < new Date(2017, 3, 28)) + if (p_s.created_at < new Date("2017-03-28")) p.series_id = series_db_map["Patch 2.2"]; else p.series_id = series_db_map["Patch 2.3"]; |
