Ticket #743 (closed defect: fixed)

Opened 18 months ago

Last modified 18 months ago

Datefield issues based on locale (IE7, IE6, FF2, Opera9 / XP)

Reported by: Jarno Kelanne Owned by: Jani Laakso
Priority: critical Milestone: 4.0.2
Component: Demos Version: 4.0.2-rc
Keywords: Cc:
Known Issue description:
Hours estimate: 0 Deadline (dd.mm.yyyy):
Known Issue version (since): Known Issue title:
Hours done: Depends to:
Affects documentation: no
Known Issue workaround:
Affects release notes: no Contract:

Description

If you set locale settings of browser for example United State (en-US) and get DateField? component from feature browser you get incorrect format of locale date. More information of format of locale dates and times see attachment document (finish only).

Attachments

Päivämäärän ja kellonajan esitys.doc (55.5 kB) - added by Jarno Kelanne 18 months ago.
Datefield issues based on locale.JPG (12.0 kB) - added by Jarno Kelanne 18 months ago.

Change History

Changed 18 months ago by Jarno Kelanne

Changed 18 months ago by Jarno Kelanne

  • summary changed from DateField represents incorrect date with locale setting (IE7, IE6, FF2, Opera9 / XP) to DateField represents incorrect date format with locale setting (IE7, IE6, FF2, Opera9 / XP)

Changed 18 months ago by Jani Laakso

  • owner changed from Jani Laakso to Jouni Koivuviita
  • hours_left set to 0.5
  • priority changed from minor to critical
  • milestone set to 4.0.2

Jouni, please check if you can fix this, we'd like to get this fixed on 4.0.2 if possible.

Changed 18 months ago by Jarno Kelanne

Changed 18 months ago by Jarno Kelanne

  • summary changed from DateField represents incorrect date format with locale setting (IE7, IE6, FF2, Opera9 / XP) to Datefield issues based on locale (IE7, IE6, FF2, Opera9 / XP)

With locale settings of Sweden all special characters (for example ä) is replaced with ?? - marks

Changed 18 months ago by Jani Laakso

  • hours_left changed from 0.5 to 2

Changed 18 months ago by Jouni Koivuviita

The JS optimizer (the script that removes all comments and such from javascript files) most likely doesn't understand any other character set that ANSI, because it converts all foreign characters to question marks.

Should we use the old default date format for U.S. (mm/dd/yyyy)? The future recommeded default should be the ISO8601. This is easy to fix, but what is the proper default?

Changed 18 months ago by Jani Laakso

  • owner changed from Jouni Koivuviita to Jani Laakso

I'll handle custom_rhino.jar and jscalendar issues.

Changed 18 months ago by Jani Laakso

  • status changed from new to closed
  • resolution set to fixed

Fixed in [1534].

Must be verified.

Changed 18 months ago by Jani Laakso

  • hours_left changed from 2 to 0

Changed 18 months ago by Jani Laakso

  • status changed from closed to reopened
  • resolution deleted

Reopening. At least Swedish locale shows ?? characters.

Changed 18 months ago by Jani Laakso

  • hours_left changed from 0 to 2

Changed 18 months ago by Jani Laakso

Same with Danish, using FF 2.0.0.4 / Linux

Changed 18 months ago by Jani Laakso

Fails with Swedish, IE 7 / Win too.

Changed 18 months ago by Jani Laakso

It seems that calendar files are not even UTF-8.

---------------- Read from: 10.10.10.129:3401 ---------------
GET /testing/features/RES/demo/ext/jscalendar/lang/calendar-sv.js HTTP/1.1
Accept: */*
Accept-Language: sv-SE,nn-NO;q=0.92,nb-NO;q=0.83,fi;q=0.75,fr-FR;q=0.67,da-DK;q=0.58,en-GB;q=0.50,en-US;q=0.42,et-EE;q=0.33,fi-FI;q=0.25,de-DE;q=0.17,it-IT;q=0.08
Referer: http://toolkit.itmill.com:9000/testing//FeaturesApplication?renderingMode=detect
UA-CPU: x86
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)
Host: toolkit.itmill.com:9000
Connection: Keep-Alive
Cookie: JSESSIONID=B002CE4920FF274F6D16E2927B9B060E


---------------- Read from: 194.100.97.79:80 ---------------
HTTP/1.1 200 OK
Date: Fri, 01 Jun 2007 10:53:09 GMT
Server: Apache/1.3.33 Ben-SSL/1.55 (Debian GNU/Linux) mod_gzip/1.3.26.1a mod_jk/1.2.14 mod_perl/1.29
Vary: Accept-Encoding
Cache-Control: max-age=86400
Expires: Sat, 02 Jun 2007 10:53:09 GMT
Pragma: cache
Connection: close
Content-Type: application/x-javascript
Content-Encoding: gzip
Content-Length: 1691

^_<8B>^H^@^@^@^@^@^@^C�Wmo"9^R�ί(!E<97>��<92><9D>Ѯ���1�@2�^D^X^E<92>���<84>Lw�8�md�a������^[�Kn��<93><80>v�U媧<9E>r<99>f^S~�^An^?�eP�4<9B>�A(ԩ�0z^D%tV<88>^L�|��T�y^M
�[<88>^K^V�^T~nl^K�r.$�*~3�^F�r~<9B>L���F�<8D>i$&�^G�<8F>��N    /<8D>^F<8F>"o�;�z�d���@<80><8D>ޡ�¦00�fm^Z�Sq��y<86>^F�-�DB�<8D><99>^L�w�y��<9F><8D><9E>NL*u�^B�L<9D><9D>��^_y�+<9D>�rZxL��)Z�s^D'r�Xl�@�0<93>$
2�1<85><85>�hO@����<�H���^\^E<85>[�^@^S��^_p<88>^Z�Ԭ0<86>7+<94><82>Tl@^S^\���Pc�^]��A�^Z:�<8A>M����mZɪ�
T���<97>n;4z7d���<99>��P�)<97>�xk�⪲���d�Q�^]���s,�c��<9B>     <8F>k^[^^w�^L��]<8A>�s�<97>6>&"^@33J<99>5<91>^E^D�^Bf^F<8E>
¿@^A�B�/D�^L��x^Q^]�dN�ϣl^M&���<82>���       ]g^T<91><8D>^H�1A�<84>�Dbd<92>� =����^X~�|��L&1s�<99><9B>5=0�,)<9C>79q!�r�c^M<88>��?�E�^[
<86>d$���(���^Z<80>BO�r^\e<98>�<9C>�^A�Oإ�qb�"[l^N� %^S^ZSZ^FW@k<87>^<90>u<9D>��<89>R�5�^W�^�X�v^F<9C>���^_S<97>*<84>><94>3<82>^PS*^D<94>�B�^S�^Q�T;�^UdD�J�^B9��\<88>���<96>^V^]j_��"��)�$t�@aMvv��xϤB^W<89>$
Z̰�p�ms<8B>1o���~Q�^��C�<9F>�N<83>��r��g�6x�T^K��/[��z�n�m�\Z�<8C><89>w�msh<96>^n<9B>
Z:\cW�^Y<����;*�^Qn^Mf��&�T2��<8B>����j�}�`�^^��<85>zF�^HV����#�^C��"#<8C>Z�\^]:z�<87>&,�X.^E�
��MLk�;<9D>Fs

Changed 18 months ago by Jani Laakso

  • status changed from reopened to new

This is an issue related to build.xml somehow.

Changed 18 months ago by Jani Laakso

  • status changed from new to closed
  • hours_left changed from 2 to 0
  • resolution set to fixed

Fixed in [1573].

Issue was that jscalendar lang directory files contain various different encodings, both <fixcrlf> and rhino packer had issues.

Changed 18 months ago by Jani Laakso

  • known_issue_since set to 4.0.0
  • affects_release_notes unset

Changed 18 months ago by Jani Laakso

  • known_issue_since deleted
Note: See TracTickets for help on using tickets.