Skip to content

Commit

Permalink
Update to patch 1.5.2 (#393)
Browse files Browse the repository at this point in the history
* Update to patch 1.5.2

* Fix value in selector
  • Loading branch information
petrvecera authored Mar 10, 2024
1 parent 84e4562 commit a27ea10
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const getEdgioEnvName = (): string | null => {
};

// This controls the default patch selector in the stats page // this needs to be key statsPatchSelector object
const defaultStatsPatchSelector = "1.4.3";
const defaultStatsPatchSelector = "1.5.2";

// This controls the patch selector in the stats page
const statsPatchSelector: Record<
Expand All @@ -55,12 +55,12 @@ const statsPatchSelector: Record<
group: string;
}
> = {
"1.5.0": {
"1.5.2": {
from: "2024-02-27",
to: "now",
value: "1.5.0",
label: "1.5.0",
group: "Year 1 Aniversary",
value: "1.5.2",
label: "1.5.0 - 1.5.2",
group: "Year 1 Anniversary",
},
"1.4.3": {
from: "2023-12-12",
Expand Down Expand Up @@ -138,11 +138,16 @@ const statsPatchSelector: Record<
};

// Latest patch needs to be a key to patches object
const latestPatch = "1.5.0";
const latestPatch = "1.5.2";

// Get patchTimeSeconds here https://www.unixtimestamp.com/
const patches: Record<string, { dataTag: string; dataTime: string; patchTimeSeconds?: number }> =
{
"1.5.2": {
dataTag: "v1.5.2-1", // This is the tag of the data repo
dataTime: "3/March/2024", // The date when was the data tag created (the data extracted from game)
// patchTimeSeconds: 1709035200, we don't need this anymore
},
"1.5.0": {
dataTag: "v1.5.0-1", // This is the tag of the data repo
dataTime: "27/February/2024", // The date when was the data tag created (the data extracted from game)
Expand Down

0 comments on commit a27ea10

Please sign in to comment.