Changing the format of a date attribute

Alan DeKok aland at deployingradius.com
Wed Dec 9 15:54:30 CET 2009


On 09-12-09 11:37 AM, Patric wrote:
> The problem with the above is that some of those formatting options ('%M
> %d %Y %H:%i:%s') are also defined as one-character variables, so instead
> of formatting the date with those options, its replacing each with the
> variable value, and when Im trying to end up with:

  Use %% to escape the %.  That should work.  e.g.

	' ... %%M %%d %%Y %%H:%%i:%%s'

  Alan DeKok.



More information about the Freeradius-Users mailing list