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
Schedule Day Format
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
DateFormat displayed where? In an event dialog?
The date format display at the title of the week calendar. Like this:
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:
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
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"}
Thank you
NetBeans 6.9
JSF 2.0
GlassFish v 3
PrimeFaces 2.2.M1
JSF 2.0
GlassFish v 3
PrimeFaces 2.2.M1
-
- Posts: 3
- Joined: 12 Jun 2012, 11:47
I know this is an old post, but is there any update on this?
- andyba
- Expert Member
- Posts: 2473
- Joined: 31 Mar 2011, 16:27
- Location: Steinfeld, near Bremen/Osnabrück, DE
- Contact:
Stopviczap wrote:Is this improvement be made?
Thanks!
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
Glassfish 4.1, Mojarra 2.x, Java 8, Payara 4.1.1.
If you haven't read the forum rules read them now
-
- Information
-
Who is online
Users browsing this forum: No registered users and 27 guests