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.
calendar-datebox.tpl.php is using a hardcoded format to display time
Line 43 :<?php print l($e->date_start->format("h:i A"), $e->url); ?>
Shouldn't that be changed to use date/time formats from the list of available formats in /admin/config/regional/date-time?
Comments
Comment #1
ladybug_3777 CreditAttribution: ladybug_3777 commentedThe time format is hard-coded but if you'd like to use something different you can simply copy that TPL file into your own theme and modify the format (or other items) as needed. At this time there is not an admin/config screen to control settings such as this but it can be added as a feature request.
Comment #2
ladybug_3777 CreditAttribution: ladybug_3777 commented