Skip to content

Commit

Permalink
fix(cogify): use datetime to be consistent with STAC (#2832)
Browse files Browse the repository at this point in the history
  • Loading branch information
blacha authored Jun 29, 2023
1 parent 3396593 commit 87a7e37
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/cogify/src/cogify/stac.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export type CogifyStacItem = StacItem & {
/** Git commit hash that the file was generated with */
hash: string;
/** ISO date of the time this file was generated */
date: string;
datetime: string;
/** version of GDAL used to create the COG */
gdal?: string;
};
Expand Down
2 changes: 1 addition & 1 deletion packages/cogify/src/tile.cover.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ export async function createTileCover(ctx: TileCoverContext): Promise<TileCoverR
package: CliInfo.package,
hash: CliInfo.hash,
version: CliInfo.version,
date: cliDate,
datetime: cliDate,
},
},
assets: {},
Expand Down

0 comments on commit 87a7e37

Please sign in to comment.