Line break in TIMEPOS (was: newline)

Support questions about the Network Weather Map plugin

Moderators: Developers, Moderators

Post Reply
haddl
Posts: 1
Joined: Tue Apr 15, 2008 6:00 am

Line break in TIMEPOS (was: newline)

Post by haddl »

Hello,

first question here :o

I just want to add a newline to the TIMEPOS output. e.g.:

Code: Select all

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.
Attachments
no newline, just special characters
no newline, just special characters
nonewline.png (589 Bytes) Viewed 1906 times
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests