I prefer to use a date format that isn't provided by default:  WWW MM/DD
(%a %m/%d).  I specify this in Slim/Utils/DateTime.pm and use the
'standard' date format setting for the WeatherTime plugin.  However,
when I do this, it doesn't all fit on the SB2 or SB3 displays.

In order to make it all fit, I modified
Plugins/WeatherTime/lib/Plugins/WeatherTime/Plugin.pm in the following
2 places:

1) I changed the value of gxwidth to 115 instead of 125 (around line
#189)

2) In the Dateformatted method, I changed the return string to be 
Code:
--------------------
    return '  '.Slim::Utils::.....
--------------------
 instead of the 
Code:
--------------------
    return ' - '.Slim::Utils::.....
--------------------
 prepended string to save an extra character.

With these changes, everything fits and displays perfectly!

Will I need to worry about making these changes in every release of
WeatherTime to keep it formatted this way?


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

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

Reply via email to