Skip to content

Commit

Permalink
Attempt simple fix for non-UTC-indexed data.
Browse files Browse the repository at this point in the history
  • Loading branch information
SpacemanPaul committed Nov 12, 2023
1 parent aba1638 commit 628cd49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datacube_ows/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -843,7 +843,7 @@ def feature_info(args):
if params.product.time_resolution.is_summary():
date_info["time"] = ds.time.begin.strftime("%Y-%m-%d")
else:
date_info["time"] = dataset_center_time(ds).strftime("%Y-%m-%d %H:%M:%S UTC")
date_info["time"] = dataset_center_time(ds).strftime("%Y-%m-%d %H:%M:%S %Z")
# Collect raw band values for pixel and derived bands from styles
date_info["bands"] = _make_band_dict(params.product, pixel_ds)
derived_band_dict = _make_derived_band_dict(pixel_ds, params.product.style_index)
Expand Down

0 comments on commit 628cd49

Please sign in to comment.