Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
If you try to add a node created date within a panel, it is not possible to select a proper date format: all three date formats look the same...
Comment | File | Size | Author |
---|---|---|---|
#7 | hardcoded-date-types-1233424-7.patch | 2.02 KB | ramlev |
#2 | Bildschirmfoto 2011-09-04 um 13.11.09.png | 24.72 KB | maerys |
Comments
Comment #1
SandraL CreditAttribution: SandraL commentedI'm having the same problem.
Comment #2
maerys CreditAttribution: maerys commentedSame here.
Comment #3
puiduThe same for me. bug?
Comment #4
jastraat CreditAttribution: jastraat commentedRelated to http://drupal.org/node/776268 ?
The naming convention of the 3 built in date formats changed in Drupal 7 from
small, medium, and large
to
short, medium, and long http://api.drupal.org/api/drupal/includes--common.inc/function/format_da...
This means that only the medium format name still exists. Ctools just needs to update the option keys in node_created.inc and node_update.inc to match the new date format conventions.
Comment #5
jastraat CreditAttribution: jastraat commentedComment #6
ramlev CreditAttribution: ramlev commentedAnd it's not possible to choose any custom made date/time types, only the three default.
Comment #7
ramlev CreditAttribution: ramlev commentedHave made a patch, which fills the selectbox, with the date types available for this installation.
This will work with node_update and node_created fields.
Comment #8
wooody CreditAttribution: wooody commentedexist in Druapl , Authored on
Comment #9
acbramley CreditAttribution: acbramley commentedAwesome, applied patch #7 to 7.x-1.0-rc1 applied cleanly and works as expected! Lets get this committed as currently the node created and updated panes are pretty useless!
Comment #10
merlinofchaos CreditAttribution: merlinofchaos commentedCommitted! Thanks!
Comment #11
Cyberwolf CreditAttribution: Cyberwolf commented#776268: Created/update date context plugins lack custom formatting looks like a duplicate of this one.