Needs review
Project:
Smart Date
Version:
4.2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Dec 2024 at 15:39 UTC
Updated:
25 Aug 2025 at 13:27 UTC
Jump to comment: Most recent
The smartdate_custom format has no complete schema definition.
Use the smartdate_custom format in a display.
Complete the schema.
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
Comment #3
dhruv.mittal commentedI have applied the patch it works fine for me so moving it to the RTBC
Thanks !!
Comment #5
stefan.kornIt's true that schema defintion for smartdate_custom formatter is not valid. Drupal 11.2 LenientConfigSchemaChecker is complaining.
But seems to me the schema definition for the smartdate_custom formatter from this MR could be reduced by using the config from the core timestamp formatter from which smartdate_custon is inheriting.
I am not exactly sure if all the "label" types are required in the schema. I believe label types would be relevant if the config setting should be translatable?
I have updated the MR. LenientConfigSchemaChecker is not complaining anymore now, but MR should be reviewed regarding the types of the config options.