Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Calendar in some months shows wrong weekdays (only in IE)
Calendar in some months shows wrong weekdays (only in IE) [message #1219301] Tue, 03 December 2013 03:48 Go to next message
Elvis Napritson is currently offline Elvis Napritson
Messages: 5
Registered: December 2013
Junior Member
I attached picture with the problem. I tried to change locale but this problem occurs in every language.
  • Attachment: ie.png
    (Size: 10.61KB, Downloaded 33 times)
Re: Calendar in some months shows wrong weekdays (only in IE) [message #1219375 is a reply to message #1219301] Tue, 03 December 2013 10:09 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan Furnadjiev
Messages: 1796
Registered: July 2009
Senior Member
Hi Elvis,
I've just tried our Controls Demo and it's working fine for me (in IE
also). The weekdays are initialized in the DataTime constructor like:
---
DateFormatSymbols symbols = new DateFormatSymbols( RWT.getLocale() );
String[] weekdayNames = symbols.getWeekdays();
String[] weekdayShortNames = symbols.getShortWeekdays();
---
Could you check what this code returns in your application? What
RWT.getLocale() returns?
Best,
Ivan

--
Ivan Furnadjiev

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: Calendar in some months shows wrong weekdays (only in IE) [message #1219384 is a reply to message #1219375] Tue, 03 December 2013 10:35 Go to previous messageGo to next message
Elvis Napritson is currently offline Elvis Napritson
Messages: 5
Registered: December 2013
Junior Member
You mean DateTime constructor. Locale is en_GB. It takes it from browser settings.
weekdayNames: [, Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday]
weekdayShortNames: [, Sun, Mon, Tue, Wed, Thu, Fri, Sat]

Calendar days are shown incorrectly for some months, not all.
For example: 07.2013, 09.2014, 12.2014
Re: Calendar in some months shows wrong weekdays (only in IE) [message #1219395 is a reply to message #1219384] Tue, 03 December 2013 11:19 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan Furnadjiev
Messages: 1796
Registered: July 2009
Senior Member
Hi Elvis,
I can't reproduce it with RAP 2.2RC1 in IE11 (also emulated as IE9/10)
and in IE8 (Windows XP). Which RAP version are you using? Which IE are
you using?
Best,
Ivan

--
Ivan Furnadjiev

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: Calendar in some months shows wrong weekdays (only in IE) [message #1219483 is a reply to message #1219395] Wed, 04 December 2013 02:23 Go to previous messageGo to next message
Elvis Napritson is currently offline Elvis Napritson
Messages: 5
Registered: December 2013
Junior Member
RAP version is 2.1.0 and IE 10.
Re: Calendar in some months shows wrong weekdays (only in IE) [message #1219486 is a reply to message #1219483] Wed, 04 December 2013 02:55 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan Furnadjiev
Messages: 1796
Registered: July 2009
Senior Member
Hi Elvis,
can you reproduce it with our Controls Demo [1]? Any specific steps to
follow in order to reproduce it?

[1] http://rap.eclipsesource.com/controlsdemo/controls#DateTime
Best,
Ivan

--
Ivan Furnadjiev

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: Calendar in some months shows wrong weekdays (only in IE) [message #1219495 is a reply to message #1219486] Wed, 04 December 2013 04:12 Go to previous messageGo to next message
Elvis Napritson is currently offline Elvis Napritson
Messages: 5
Registered: December 2013
Junior Member
Yes same problem on demo page (screenshot attached).
1) Open link with IE 10
2) In Internet Options -> Languages -> set language "English (United Kingdom) [en-GB]"
3) Set type to "CALENDAR" and go to July 2013
  • Attachment: rap.PNG
    (Size: 43.97KB, Downloaded 26 times)
Re: Calendar in some months shows wrong weekdays (only in IE) [message #1219498 is a reply to message #1219495] Wed, 04 December 2013 04:32 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan Furnadjiev
Messages: 1796
Registered: July 2009
Senior Member
Hi Elvis,
I still can't reproduce it. Please open a bugzilla and we will try to
understand what is going on.
Best,
Ivan

--
Ivan Furnadjiev

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: Calendar in some months shows wrong weekdays (only in IE) [message #1219500 is a reply to message #1219498] Wed, 04 December 2013 04:45 Go to previous messageGo to next message
Veronika Kuzmina is currently offline Veronika Kuzmina
Messages: 1
Registered: December 2013
Junior Member
Reproduced for IE11 for WIN7
Re: Calendar in some months shows wrong weekdays (only in IE) [message #1219502 is a reply to message #1219498] Wed, 04 December 2013 05:11 Go to previous message
Elvis Napritson is currently offline Elvis Napritson
Messages: 5
Registered: December 2013
Junior Member
Opened bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=423160
Previous Topic:Rap Export-Version
Next Topic:Using Business Theme override only the Logo
Goto Forum:
  


Current Time: Tue Sep 02 02:50:44 EDT 2014

Powered by FUDForum. Page generated in 0.04226 seconds