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

Created on 22 July 2022, over 2 years ago
Updated 24 February 2025, about 1 month 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.

  • πŸ‡ΊπŸ‡ΈUnited States scotwith1t Birmingham, AL

    Yeah, this setting functions completely backwards from what the label says. Any idea when a fix for this will be available? For now, we'll just carry on knowing it's reversed. πŸ€·β€β™‚οΈ

Production build 0.71.5 2024