Schedule Day Format

UI Components for JSF
Post Reply
crogenius
Posts: 20
Joined: 28 Apr 2010, 19:25

06 Oct 2010, 20:26

Hi,
i would like to ask, if there is any way to make the day format looks like else, then there is in schedule.
The reason is simple. I live i country, where the date is in format dd/MM, not like MM/dd in English speaking countries. I would like to know, if there is some way how to modified this. It would be a nice feature too.
Thanks
NetBeans 6.9
JSF 2.0
GlassFish v 3
PrimeFaces 2.2.M1

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

06 Oct 2010, 22:39

DateFormat displayed where? In an event dialog?

crogenius
Posts: 20
Joined: 28 Apr 2010, 19:25

07 Oct 2010, 22:43

The date format display at the title of the week calendar. Like this:
Image
as you can see here, the format is [nameOdDay] [month]/[day]. But in some countries in Europe(like in Czech Rupublic where is live) the common date format is [date]/[month] a most users will decode 11/2 like the 11th February, not 2nd November and therefore they make mistakes sometimes. I edit some parts of schedule.js file like this:

Code: Select all

titleFormat:{month:"MMMM yyyy",week:"d MMM[ yyyy]{ '—'[ MMM] d yyyy}",day:"dddd,d MMM, yyyy"},columnFormat:{month:"ddd",week:"ddd d/M",day:"dddd d/M"}
I am not sure, which change make it work(i suppose columnFormat, but I am really not good at JavaScript). So it would be perfect to add parameter to the schedule, where user can modify theese parameter without editing JavaScript.
Thank you
NetBeans 6.9
JSF 2.0
GlassFish v 3
PrimeFaces 2.2.M1

peter.mesotten
Posts: 3
Joined: 12 Jun 2012, 11:47

05 Sep 2012, 12:04

I know this is an old post, but is there any update on this?

viczap
Posts: 1
Joined: 13 May 2013, 22:33

13 May 2013, 22:38

Is this improvement be made?
Thanks!

kukeltje
Expert Member
Posts: 9605
Joined: 17 Jun 2010, 13:34
Location: Netherlands

13 May 2013, 23:26

no, it got stuck in /dev/null

User avatar
andyba
Expert Member
Posts: 2473
Joined: 31 Mar 2011, 16:27
Location: Steinfeld, near Bremen/Osnabrück, DE
Contact:

14 May 2013, 11:27

viczap wrote:Is this improvement be made?
Thanks!
Stop
Resurrecting
Old
Threads.
Check the Showcase, the User Guide and investigate how things work in the current version before asking pointless questions in a Thread that started before you were born.
Then read the Forum Rules.
PF 4.x (Elite versions), PF 5, Pf 5.1, PF 6.0
Glassfish 4.1, Mojarra 2.x, Java 8, Payara 4.1.1.
If you haven't read the forum rules read them now

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 27 guests