rlm_date and utc time

Alan DeKok aland at deployingradius.com
Wed Mar 29 16:55:01 CEST 2017


On Mar 29, 2017, at 5:12 AM, Peter Lambrechtsen <peter at crypt.nz> wrote:
> 
> Using the rlm_date function it only returns time in local time.
> 
> Sometimes it would be useful if you can manipulate time in UTC rather than
> local time, and depending on how far to take it allowing any time zone
> might be useful. Here is a quick patch that I wrote to the module to store
> time in utc and update the mods-available to include utc=yes commented out.

  Looks good.  I've added the patch.

  Alan DeKok.



More information about the Freeradius-Devel mailing list