Personal tools
HylaFAX The world's most advanced open source fax server

Talk:Handbook:Advanced Server Configuration:Tagline(s)

Revision as of 22:44, 16 December 2008 by 64.81.164.111 (talk) (Regarding %c)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Useful information from the Hylafax-Users mailing list, concerning where the %c variable substitution comes from (source: http://www.hylafax.org/archive/2004-06/msg00393.php):

Heribert Schorn typed (on Tue, Jun 29, 2004 at 11:37:24AM +0200):
| On Sun, 27 Jun 2004 17:40:28 -0400
| Jean-Pierre Radley <jpr@xxxxxxx> wrote:
| 
| > Heribert Schorn typed (on Sun, Jun 27, 2004 at 11:02:02PM +0200):
| > | Hello,
| > | 
| > | everything works perfect, but ...
| > | I'd like to change the format of the tag line not saying Thu Jun 24
| > | 00:35:29 2004 but to use European style of Date ( Thu, 24.06.2004 00:35:29
| > ). | 
| > | Is this possible and how is it achieved?
| > 
| > 
| > The default TagLineFormat is "From %%l|%c|Page %%P of %%T", which you
| > can change in hfaxd.conf.
| > 
| > In that string, %c is the "normal" date string returned by strftime().
| > That can be modified to anything else you see in the strftime() page, and
| > is affected by your gneral locale setting, or at least by the LC_TIME
| > setting.
| > 
| 
| My LC_TIME setting is LC_TIME=de_DE@euro. ( For the users and root )
| But the date command give me : Die Jun 29 11:35:47 CEST 2004
| This is at all not the normal German printing for date.
| How can I change it ?

man strftime  -- instead of just '%c', make up your own format.


-- 
JP

This page was last edited on 16 December 2008, at 22:44.

Powered by MediaWiki
Attribution-ShareAlike 2.5

Project hosted by iFAX Solutions