p:calendar problem in month

UI Components for JSF
Post Reply
duque777
Posts: 2
Joined: 16 Jun 2011, 00:12

16 Jun 2011, 00:17

I put it to enter the month, year, day, hour and minute using P: CALENDAR,
but always returns the month in January.
using in popup mode.

example:
i put in inputtext the date: 15/06/2011 19:08
i get in date attibute: Sat Jan 15 19:08:00 BRST 2011

sail
Posts: 1
Joined: 30 Jul 2012, 21:01

30 Jul 2012, 21:08

Hi,

I am having the same issue, did you find the solutuion, please reply back.

chrishj
Posts: 229
Joined: 11 Jul 2011, 21:58
Location: England, Lancashire
Contact:

31 Jul 2012, 14:04

Could you enter the code you are using?

I have not found this issue with Calendar.
PrimeReact: 9.6.0
NextJs: 13.4.12
Theme Apollo v9.0
Database pg 8.8.0
react-hook-form: 7.38.0

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

31 Jul 2012, 14:05

Try;

Code: Select all

    <context-param>
        <param-name>javax.faces.DATETIMECONVERTER_DEFAULT_TIMEZONE_IS_SYSTEM_TIMEZONE</param-name>
        <param-value>true</param-value>
    </context-param>

leppya
Posts: 17
Joined: 18 Oct 2011, 17:15

21 Aug 2012, 17:28

duque777, sail....

did you solve this issue, and if so how?
Thanks, Leppya

PrimeFaces: PrimeFaces 3.4.RC1
JSF: jsf-api-2.1.2.jar
Apache/Jboss: 5.1
Netbeans 7.1.x

Demiurg
Posts: 1
Joined: 22 Apr 2013, 17:55

22 Apr 2013, 17:57

Check your pattern, you propably use dd-mm-yyyy instead of dd-MM-yyyy (for example).

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 63 guests