Posted: Tue Apr 15, 2008 6:14 am Post subject: Line break in TIMEPOS (was: newline)
Hello,
first question here
I just want to add a newline to the TIMEPOS output. e.g.:
Code:
Created: Apr 15 2008 13:00:14 CEST
Calendar week 16
The documentation says: "The default timestamp text is 'Created: %b %d %Y %H:%M:%S'. The tokens used are those accepted by the PHP strftime function. For a full list see the PHP manual page."
And the PHP manual page says: %n - newline character.
For the timestamp I used: 'Created: %b %d %Y %H:%M:%S %Z %n Calendar week %V'
But weathermap doesn't render a new line (or line break or whatever you would call it). It just renders some special characters (see attached picture). Do I have to use ttf fonts in order to get this work?
Is this a bug or is this done intentionally?
Thanks in advance
Regards
Matthias
Edit: weathermap version is 0.95b used as cacti (0.8.7a) plugin.