Custom formatter "site_time_toggle" label is the opposite of what it means

Created on 22 July 2022, almost 3 years ago
Updated 24 February 2025, 4 months ago

Problem/Motivation

See https://git.drupalcode.org/project/smart_date/-/blob/3.5.x/src/Plugin/Fi...

The "site_time_toggle" setting enables the site/user time in parentheses. The labels on the custom formatter settings form make it seem like it does the opposite.

Currently the label/description is:

Turn off site time display
Don't show default site time in parentheses at end of the value.

It should be something like:

Enable site time display
Show the default site time in parentheses at end of value.

Steps to reproduce

Format a time with the custom formatter and check and uncheck the relevant setting at the bottom of the form.

Proposed resolution

Change the label.

πŸ› Bug report
Status

Needs work

Version

3.5

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024