[
https://issues.apache.org/jira/browse/OFBIZ-2?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Adrian Crum updated OFBIZ-2:
----------------------------
Attachment: tz_basic.patch
tz_basic.patch lays some groundwork for basic time zone support. I can't figure out how to attach an existing list to a form-widget drop-down, so the Party Manager EditPerson screen isn't quite finished. If anyone could point me in the right direction on that I would truly appreciate it.
This patch puts the user's preferred time zone ID in the session attributes with the key "userTzId". I added a availableTimeZoneMap method to UtilMisc.java, and added an entry in the general.properties file.
> Add Timezone versions of functions in UtilDateTime
> --------------------------------------------------
>
> Key: OFBIZ-2
> URL:
https://issues.apache.org/jira/browse/OFBIZ-2> Project: OFBiz (The Open for Business Project)
> Issue Type: New Feature
> Components: framework
> Affects Versions: SVN trunk
> Environment: All
> Reporter: Vinay Agarwal
> Attachments: 06-06-21 Timezone.patch, tz_basic.patch
>
>
> I am starting to work with timezones. The first thing I came across is UtilDateTime's functions completely ignore timezones. I plan to create timezone versions of functions like getDayStart that will take a timezone id string or a TimeZone. I would not use any deprecated functions but do not plan to change their use in existing functions. I would appreciate suggestions.
> Regards,
> Vinay Agarwal
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.