Skip to content

Commit

Permalink
feat: add UTC indicator to datetime control
Browse files Browse the repository at this point in the history
  • Loading branch information
martinjagodic committed Aug 7, 2024
1 parent f77b625 commit febbc22
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/decap-cms-widget-datetime/src/DateTimeControl.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,12 @@ class DateTimeControl extends React.Component {
onBlur={setInactiveStyle}
disabled={isDisabled}
/>
{this.isUtc && (
<span css={css`
font-size: 0.8em;
color: #666;
`}>UTC</span>
)}
{!isDisabled && (
<Buttons
t={t}
Expand Down

0 comments on commit febbc22

Please sign in to comment.