From: Paul L. <pa...@sq...> - 2008-03-14 20:35:05
|
On Fri, Mar 14, 2008 at 3:59 AM, Fredrik Jervfors <jer...@sq...> wrote: > > Revision: 13035 > > http://squirrelmail.svn.sourceforge.net/squirrelmail/?rev=13035&view=rev > > Author: pdontthink > > Date: 2008-03-14 01:43:30 -0700 (Fri, 14 Mar 2008) > > > > Log Message: > > ----------- > > Add new 'Custom Date Format' option for message list date format > > [---] > > > Modified: trunk/squirrelmail/include/options/display.php > > [---] > > > $optvals[SMOPT_GRP_MAILBOX][] = array( > > + 'name' => 'custom_date_format', > > + 'caption' => _("Custom Date Format"), > > + 'trailing_text' => ' ' . _("(Uses format of PHP date() > > function)"), + 'type' => SMOPT_TYPE_STRING, > > + 'refresh' => SMOPT_REFRESH_NONE, > > + 'size' => SMOPT_SIZE_TINY, > > + ); > > [---] > > Simple enough, but not very user friendly for the average user. Yes. See the comments I made about it here: https://sourceforge.net/tracker/?func=detail&atid=350311&aid=1900296&group_id=311 > Someone > should create a better UI for this sometime in the future. I would very much like that. > Could you > insert a FIXME about that, Paul? Will do. > If we had a nice function/class for this > in the core it could be used by plugins, such as calendar, as well. Can you elaborate? There is a function for getting the date based on these options: getDateString() |