6.0.0-beta1
7/17/25

[#14066] Make date format in lib/Block/Time.php configurable
Summary Make date format in lib/Block/Time.php configurable
Queue Horde Groupware Webmail Edition
Queue Version 5.2.7
Type Enhancement
State Resolved
Priority 1. Low
Owners mrubinsk (at) horde (dot) org
Requester robwebcontact-2015 (at) yahoo (dot) de
Created 07/27/2015 (3643 days ago)
Due
Updated 07/27/2015 (3643 days ago)
Assigned
Resolved 07/27/2015 (3643 days ago)
Milestone
Patch Yes

History
07/27/2015 04:06:17 PM Michael Rubinsky Comment #3
Assigned to Michael Rubinsky
State ⇒ Resolved
Reply to this comment
Implemented by honoring the global time_pref.
07/27/2015 04:05:19 PM Git Commit Comment #2 Reply to this comment
Changes have been made in Git (master):

commit d56cc86e316fabb80bce5617b558e244aa8105be
Author: Michael J Rubinsky <mrubinsk@horde.org>
Date:   Mon Jul 27 12:04:31 2015 -0400

     Ticket: 14066 Use configured date_format pref for time block.

  horde/lib/Block/Time.php |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)

http://github.com/horde/horde/commit/d56cc86e316fabb80bce5617b558e244aa8105be
07/27/2015 12:56:53 PM robwebcontact-2015 (at) yahoo (dot) de Comment #1
Priority ⇒ 1. Low
New Attachment: diff.patch Download
Patch ⇒ Yes
Milestone ⇒
Queue ⇒ Horde Groupware Webmail Edition
Summary ⇒ Make date format in lib/Block/Time.php configurable
Type ⇒ Enhancement
State ⇒ New
Reply to this comment
In lib/Block/Time.php the output format of the date is hard coded in 
line 49 with "strftime('%A, %B %d, %Y ');". I'd love to see this 
configurable since in some regions you might want to have a different 
format, e.g. "%A, %d. %B %Y".

Saved Queries