It would be great if there would be an option to follow the regional datetime settings (which are translatable) instead of inputting the date format for each field.

This way users see the the date in the format they are familiar with.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

maartendeblock created an issue. See original summary.

nagy.balint’s picture

Hi!

So the date formats available at admin/config/regional/date-time
And the feature would be a dropdown in the formatter options to select a date-time format from there, instead of having to input the format in the alternative input field.

If I understood correctly.

maartendeblock’s picture

Yes, that would be a great solution.

sourabhsisodia_’s picture

Assigned: Unassigned » sourabhsisodia_
sourabhsisodia_’s picture

working on it

sourabhsisodia_’s picture

Assigned: sourabhsisodia_ » Unassigned
Status: Active » Needs review
nagy.balint’s picture

Thanks!

I am not sure why this patch deletes code from processFieldSettings though.

nagy.balint’s picture

StatusFileSize
new6.07 KB

I made some adjustments.

We cannot change the dateFormat in most cases it has to remain as is, or if it is date only then the time parts can be removed, but for display purposes only the altFormat should be changed.

nagy.balint’s picture

  • nagy.balint committed f2dba8f1 on 3.0.x
    Issue #3493685 by sourabhsisodia_, nagy.balint, maartendeblock: Option...
nagy.balint’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.