Skip to content

Commit

Permalink
Remove the raw adjusted, days adjusted, months adjusted keys from jso…
Browse files Browse the repository at this point in the history
…n to make it smaller
  • Loading branch information
Jbithell committed Jun 8, 2024
1 parent 08680cc commit 573790e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions data/php/dataParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -180,11 +180,11 @@

$output = [
"schedule" => $tidesApp,
"tides" => [
/*"tides" => [
"rawAdjusted" => $tides,
"daysAdjusted" => $tidesDays,
"monthsAdjusted" => $tidesMonths
],
],*/
"pdfs" => $pdfs
];
$fp = fopen(__DIR__ . '/../tides.json', 'w');
Expand Down
2 changes: 1 addition & 1 deletion data/tides.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/types.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export interface TidesJson_TopLevel {
schedule: Array<TidesJson_ScheduleObject>;
pdfs: Array<TidesJson_PDFObject>;
tides: {
/*tides: {
rawAdjusted: {
[unixTimestamp: number]: string;
};
Expand All @@ -19,7 +19,7 @@ export interface TidesJson_TopLevel {
}>;
};
};
};
};*/
}
export interface TidesJson_ScheduleObject {
date: string;
Expand Down

0 comments on commit 573790e

Please sign in to comment.