Yannzola Wrote:
>
> Q: Is it possible to edit the default date formats available? If I
> could add MM.DD (no year) to the list of available settings, I'd be
> set. I went hunting around for refrences to MM.DD.YY in various .pref
> files, but came up empty handed. Is it a firmware thing?
The formats are defined in SlimServer's Slim/Web/Setup.pm (line 1969ff
in v6.2.1) code. Patching the file as follows would get you where you
want to be - but that is just a short-term workaround if the changes
are not included in future versions of Slimserver:
Code:
--------------------
1969c1969,1975
< q(%m/%d/%Y)
=> "MM/DD/YYYY"
---
> q(%m/%d)
=> "MM/DD"
> ,q(%m-%d)
=> "MM-DD"
> ,q(%m.%d.)
=> "MM.DD."
> ,q(%d/%m)
=> "DD/MM"
> ,q(%d-%m)
=> "DD-MM"
> ,q(%d.%m.)
=> "DD.MM."
> ,q(%m/%d/%Y)
=> "MM/DD/YYYY"
--------------------
--
martin.rehfeld
Cheers,
Martin Rehfeld
-----------------------------------------------------------
Check out http://inside.glnetworks.de/ for more to come.
------------------------------------------------------------------------
martin.rehfeld's Profile: http://forums.slimdevices.com/member.php?userid=4475
View this thread: http://forums.slimdevices.com/showthread.php?t=21989
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/plugins