History | Log In     View a printable version of the current page. Get help!  
Issue Details [XML]

Key: JSF-24
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Chad Brandon
Reporter: Samuel Solon
Votes: (View)
Watchers: (View)
Operations

If you were logged in you would be able to see more operations.
JSF cartridge

DateTimeConverter does not respect time zone of superclass

Created: 23/Aug/06 09:28 AM   Updated: 23/Aug/06 03:11 PM
Component/s: None
Affects Version/s: None
Fix Version/s: None

File Attachments: 1. Text File andromda-jsf-datetimeconverter-timezone.patch (1 kb)



 Description   
The Calendar and DateFormat of org.andromda.cartridges.jsf.converters.DateTimeConverter does not take into account the time zone that is used for the conversion to a date.

This means that a date that is entered in a non default locale timezone (and the default time zone for the jsf components is documented as UTC) will be redisplayed as a date in the locale default timezone -- it will redisplay as a different date than was entered.

 All   Comments   Change History      Sort Order:
Comment by Samuel Solon [23/Aug/06 09:31 AM]
Patch for org.andromda.cartridges.jsf.converters.DateTimeConverter to respect the time zone of the superclass.

Comment by Chad Brandon [23/Aug/06 03:11 PM]
Applied, thanks for the patch!