Security

Reply
Occasional Contributor II
Posts: 11
Registered: ‎07-16-2013

Clearpass Guest Receipt Timezone

Is there a way to set the timezone on the guest receipt page?  It is by default set to UTC and it is driving the support team nuts.  

Dan R.
Network Engineer
ACMA
Guru Elite
Posts: 20,981
Registered: ‎03-29-2007

Re: Clearpass Guest Receipt Timezone


driv wrote:

Is there a way to set the timezone on the guest receipt page?  It is by default set to UTC and it is driving the support team nuts.  


It should take the timezone of the server by default...



Colin Joseph
Aruba Customer Engineering

Looking for an Answer? Search the Community Knowledge Base Here: Community Knowledge Base

Aruba
Posts: 113
Registered: ‎11-21-2011

Re: Clearpass Guest Receipt Timezone


cjoseph wrote:

driv wrote:

Is there a way to set the timezone on the guest receipt page?  It is by default set to UTC and it is driving the support team nuts.  


It should take the timezone of the server by default...


You should also check the Operator Profile (assuming you are not using a guest self-registration page).  

 

If the time zone there is set to (Default) the operator should be using the server's time zone.  Otherwise, this could be where you are seeing the UTC time zone coming from.

 

If all else fails, you could try this code in the Header HTML of the guest receipt page:

 

{assign var=_tz value="America/New_York"|NwaSetCurrentTimeZone}

 

where, obviously, you should change the "America/New_York" to a suitable string for your desired receipt time zone.  (Hint: to get a list of all supported time zones, try a View Source on the operator profile page, or use the Inspect Element feature of Chrome or Firefox to see the actual values in the drop-down list of the time zones.)

 

Contributor II
Posts: 56
Registered: ‎04-22-2009

Re: Clearpass Guest Receipt Timezone

So I have a multinational customer with CPPM nodes's in 7 timezones, in a single cluster, and it appears that Guest (pushed from publisher) has no concept of "local" timezone for each of the 7 timezones.   

 

All guest receipts are being printed with the publishers timezone (UTC), even if the Captive portal is directed to a Subscriber node in Timezone XYZ.

 

Does this mean I have to create 7 copies of my self-registration and hard-code a timezone as shown below into each one of them?

 

If all else fails, you could try this code in the Header HTML of the guest receipt page:

 

{assign var=_tz value="America/New_York"|NwaSetCurrentTimeZone}

 

Certainly doesn't scale well for global customers...

Contributor I
Posts: 22
Registered: ‎04-02-2013

Re: Clearpass Guest Receipt Timezone

I also have users around the world, and I would like to have their guest_receipt and email receipt to reflect their correct timezone.  How can I get this done.  For Hawaii I applied {assign var=_tz value="Pacific/Honolulu"|NwaSetCurrentTimeZone} to the guest_receipt which worked for a bit, then reverted back the time where the Clearpass server is located. 

 

Does anyone have any fixes for this?

Search Airheads
Showing results for 
Search instead for 
Did you mean: