p:schedule - question/problem

UI Components for JSF
Post Reply
jid1
Posts: 19
Joined: 05 Nov 2010, 11:28

11 Feb 2011, 15:13

Hi,

I found a "bug"/"feature" on the p:scedule render. Well when you select a time it uses the following code:
schedule.queueEvent(new DateSelectEvent(component, new Date(Long.valueOf(dateAsString))));

My problem is that it gives me the correct date in terms of accuracy, but I do to have access to the client side user timezone. So if I want to get the time that the user has seen, it is at the very least buggy.

2 possible solutions would be:
a. pass the client side timezone used
b. pass the actual selected date

Rgs,

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 25 guests