idealdear / jquery-datepicker

Automatically exported from code.google.com/p/jquery-datepicker
0 stars 0 forks source link

Localized month name changes #164

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

- I changed month names in date.js into Finnish. There "January" is "tammikuu".

What is the expected output? What do you see instead?

- I expected month name "tammikuu 2010" and see "ta01ikuu 2010"

Please provide a URL to a page displaying the problem.

- Not in Internet yet.

What version of the datepicker are you using? On what operating system? And 
Which Browser?

- No probs in 2.1.2. Problem comes with newest version.

:eero

Original issue reported on code.google.com by ernestvi...@gmail.com on 27 Jan 2010 at 10:06

GoogleCodeExporter commented 8 years ago
Did you save the file as utf-8? Is the file you are including with also served 
as utf-8?

There are a number of localisations of the date methods available here:

http://github.com/vitch/jquery-methods

If you complete the Finnish ones then please send a pull request on github or 
send
them to me and I'll add them in to the repository...

Original comment by kelvin.l...@gmail.com on 30 Jan 2010 at 2:09

GoogleCodeExporter commented 8 years ago
date.js is in utf-8. Every other month name is OK except January (tammikuu). I 
don't think it's about encodings, 
because it's just this "mm" inside "tammikuu" that is replased with the month 
number and with datePicker 
version 2.1.2 it works fine.

Here is the date_fi.js

Original comment by ernestvi...@gmail.com on 30 Jan 2010 at 9:10

Attachments:

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
I tested a bit more...

input: tammikuu
output: ta01ikuu
"mm" is replased by month number "01"

input: tammmikuu
output: tata01iikuu
"mmm" is replased by short month name "tammi" where "mm" is replased with month 
number "01"

input: taddikuu
output: ta01ikuu
"dd" is replased by day number "01" I guess

Original comment by ernestvi...@gmail.com on 31 Jan 2010 at 3:39

GoogleCodeExporter commented 8 years ago
Solved by replacing mm with mm

Original comment by Mr.Boog...@gmail.com on 13 Jan 2012 at 11:54