From febbc22e78d50d97038f53a6a095bae01f5afde1 Mon Sep 17 00:00:00 2001 From: Martin Jagodic Date: Wed, 7 Aug 2024 10:05:28 +0200 Subject: [PATCH] feat: add UTC indicator to datetime control --- packages/decap-cms-widget-datetime/src/DateTimeControl.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packages/decap-cms-widget-datetime/src/DateTimeControl.js b/packages/decap-cms-widget-datetime/src/DateTimeControl.js index 99dbccd97849..07fd08cd152a 100644 --- a/packages/decap-cms-widget-datetime/src/DateTimeControl.js +++ b/packages/decap-cms-widget-datetime/src/DateTimeControl.js @@ -153,6 +153,12 @@ class DateTimeControl extends React.Component { onBlur={setInactiveStyle} disabled={isDisabled} /> + {this.isUtc && ( + UTC + )} {!isDisabled && (