Mortod,

If you want "DD MMM", this is how you do it:

Edit <slimserver dir>/Plugins/WeatherTime/Plugin.pm

I have version 1.6 (using SS 6.2.2) so your line numbers may not match
exactly but the code still should (or should it?) be the same...

At line 2073, 
change '%d.%m.' => 'DD.MM.' 
to '%d.%m.' => 'DD.MM.',  (append a comma)

Add a new line right after:
'%d %b' => 'DD MMM'

The %d is for the day number and %b is for the abbreviated month name.

Save the file and then restart the slimserver. You will now have a new
date option (at the top) wich will be "DD MMM", this will display what
you want.

For other formatting options, look here: http://tinyurl.com/kdqwf

If this is too adventurous for you, then you can always wait for
Martin's next update.

Daniel
P.S. It's very possible that versions 1.6.x may not work like this, I
have no idea but it does work for version 1.6


-- 
dborn
------------------------------------------------------------------------
dborn's Profile: http://forums.slimdevices.com/member.php?userid=181
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