Skip to content

Commit 87a7e37

Browse files
authored
fix(cogify): use datetime to be consistent with STAC (#2832)
1 parent 3396593 commit 87a7e37

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/cogify/src/cogify/stac.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export type CogifyStacItem = StacItem & {
6060
/** Git commit hash that the file was generated with */
6161
hash: string;
6262
/** ISO date of the time this file was generated */
63-
date: string;
63+
datetime: string;
6464
/** version of GDAL used to create the COG */
6565
gdal?: string;
6666
};

packages/cogify/src/tile.cover.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ export async function createTileCover(ctx: TileCoverContext): Promise<TileCoverR
150150
package: CliInfo.package,
151151
hash: CliInfo.hash,
152152
version: CliInfo.version,
153-
date: cliDate,
153+
datetime: cliDate,
154154
},
155155
},
156156
assets: {},

0 commit comments

Comments
 (0)