kyleki;241203 Wrote: 
> I guess my concern is that SlimServer provides 2 different date formats:
> Long Date Format & Short Date Format.  SDT, however, only gives me
> access to one of them through the %2 variable.  It would be helpful to
> have access to both SlimServer formats through separate SDT variables.
> 
> Without this, I'm required to make my Long Date Format very short. ;-)

Actually, I'm trying this out without any success.  I modified
Slim/Utils/DateTime.pm adding the following to the longDateFormats
method:

Code:
--------------------
    q(%a %m/%d)        => q(WWW MM/DD),
--------------------

Then I restarted slimserver and selected this new format for my Long
Date Format using the UI.  This left me with the following line in
prefs/server.prefs:

Code:
--------------------
    longdateFormat: "%a %m/%d"
--------------------

With "%1 %2" set as my STD, line2 format, I'm still getting the very
long date format:  Thursday, November 8, 2007

I've tried shutting down slimserver, removing the stringcache file, and
starting up again, but it's still not coming through properly.

Any ideas on what I'm doing wrong?


-- 
kyleki
------------------------------------------------------------------------
kyleki's Profile: http://forums.slimdevices.com/member.php?userid=2510
View this thread: http://forums.slimdevices.com/showthread.php?t=14327

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/plugins

Reply via email to