Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » Why does custom date format 'EEE' show day of week number?
Why does custom date format 'EEE' show day of week number? [message #1106452] Wed, 11 September 2013 05:43 Go to next message
Paul Ramsden is currently offline Paul RamsdenFriend
Messages: 84
Registered: February 2011
Location: BW, Germany
Member
I have used the custom date format 'EEE' to display the day of week in short form. i.e. Mo, Di, Mi (in German). In my development environment it works as desired. However on both the Test and Production platform I get the day-of-week index - 1, 2, 3, ...

Other Date and Numerical formats are working fine and are appropriate for the German Locale.

Any ideas what might be causing this?

What I expect is

Mi
11. Sep

what I get is

4
11. Sep

[Updated on: Wed, 11 September 2013 05:57]

Report message to a moderator

Re: Why does custom date format 'EEE' show day of week number? [message #1106482 is a reply to message #1106452] Wed, 11 September 2013 06:41 Go to previous messageGo to next message
Paul Ramsden is currently offline Paul RamsdenFriend
Messages: 84
Registered: February 2011
Location: BW, Germany
Member
Not really an answer but this is my work-around.

["Mo", "Di", "Mi", "Do", "Fr", "Sa", "So"][BirtDateTime.weekDay(row["Date"], 3)]

This is hardcoded for German. I needed an immediate solution....
Re: Why does custom date format 'EEE' show day of week number? [message #1106760 is a reply to message #1106482] Wed, 11 September 2013 14:09 Go to previous messageGo to next message
Michael Williams is currently offline Michael WilliamsFriend
Messages: 1925
Registered: July 2009
Senior Member

What is your BIRT version?

Michael

Developer Evangelist, Silanis
Re: Why does custom date format 'EEE' show day of week number? [message #1107244 is a reply to message #1106760] Thu, 12 September 2013 06:14 Go to previous messageGo to next message
Paul Ramsden is currently offline Paul RamsdenFriend
Messages: 84
Registered: February 2011
Location: BW, Germany
Member
org.eclipse.birt.runtime_3.7.2.v20120214-1408
Re: Why does custom date format 'EEE' show day of week number? [message #1107667 is a reply to message #1107244] Thu, 12 September 2013 19:19 Go to previous message
Michael Williams is currently offline Michael WilliamsFriend
Messages: 1925
Registered: July 2009
Senior Member

I tried with 3.7.2 with both my standard locale (English), and with German selected. Both worked from Eclipse and from Tomcat. Can you set me up a simple example with the sample database that give you this issue so I can test it? Thanks!

Michael

Developer Evangelist, Silanis
Previous Topic:PDF Preview in Firefox 23.0.1 : Error on Opening in Acrobat Reader
Next Topic:Dealing with empty data cells in BIRT
Goto Forum:
  


Current Time: Mon Sep 20 12:20:08 GMT 2021

Powered by FUDForum. Page generated in 0.02069 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top