@radiantearth/stac-migrate 2.0.1 → 2.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/migrate.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
package/migrate.js
CHANGED
|
@@ -401,7 +401,7 @@ var _ = {
|
|
|
401
401
|
if (!(date instanceof Date)) {
|
|
402
402
|
date = new Date(date);
|
|
403
403
|
}
|
|
404
|
-
return date.toISOString().replace(/\.0
|
|
404
|
+
return date.toISOString().replace(/\.0+(?=[-\+Z])/, ''); // Don't export milliseconds if not needed
|
|
405
405
|
},
|
|
406
406
|
|
|
407
407
|
formatString(obj, key, format) {
|