You are viewing a plain text version of this content. The canonical link for it is here.
Posted to savan-dev@ws.apache.org by "Rikard Swahn (JIRA)" <ji...@apache.org> on 2010/05/18 10:41:43 UTC
[jira] Created: (AXIS2-4719) Wrong time when parsing time without
time zone information.
Wrong time when parsing time without time zone information.
-----------------------------------------------------------
Key: AXIS2-4719
URL: https://issues.apache.org/jira/browse/AXIS2-4719
Project: Axis2
Issue Type: Bug
Components: adb
Affects Versions: 1.5.1
Environment: All
Reporter: Rikard Swahn
Functions public static Date convertToDate(String source) and public static Calendar convertToDateTime(String source) returns wrong time when parsing a data without timezone information.
When parsing a time without timezone set, default timezone is used, But, daylight saving is always set to zero (instead of using the local default daylight savings also). This gives the wrong time back when the local daylight savings is not zero.
The fix is to only set daylight savings to zero ( calendar.set(Calendar.DST_OFFSET, 0); ) when the time has time zone information.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org
[jira] Commented: (AXIS2-4719) Wrong time when parsing time without
time zone information.
Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-4719?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12868749#action_12868749 ]
Amila Chinthaka Suriarachchi commented on AXIS2-4719:
-----------------------------------------------------
can you please attach a patch?
> Wrong time when parsing time without time zone information.
> -----------------------------------------------------------
>
> Key: AXIS2-4719
> URL: https://issues.apache.org/jira/browse/AXIS2-4719
> Project: Axis2
> Issue Type: Bug
> Components: adb
> Environment: All
> Reporter: Rikard Swahn
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> Functions public static Date convertToDate(String source) and public static Calendar convertToDateTime(String source) returns wrong time when parsing a data without timezone information.
> When parsing a time without timezone set, default timezone is used, But, daylight saving is always set to zero (instead of using the local default daylight savings also). This gives the wrong time back when the local daylight savings is not zero.
> The fix is to only set daylight savings to zero ( calendar.set(Calendar.DST_OFFSET, 0); ) when the time has time zone information.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org
[jira] Commented: (AXIS2-4719) Wrong time when parsing time without
time zone information.
Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-4719?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12868749#action_12868749 ]
Amila Chinthaka Suriarachchi commented on AXIS2-4719:
-----------------------------------------------------
can you please attach a patch?
> Wrong time when parsing time without time zone information.
> -----------------------------------------------------------
>
> Key: AXIS2-4719
> URL: https://issues.apache.org/jira/browse/AXIS2-4719
> Project: Axis2
> Issue Type: Bug
> Components: adb
> Environment: All
> Reporter: Rikard Swahn
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> Functions public static Date convertToDate(String source) and public static Calendar convertToDateTime(String source) returns wrong time when parsing a data without timezone information.
> When parsing a time without timezone set, default timezone is used, But, daylight saving is always set to zero (instead of using the local default daylight savings also). This gives the wrong time back when the local daylight savings is not zero.
> The fix is to only set daylight savings to zero ( calendar.set(Calendar.DST_OFFSET, 0); ) when the time has time zone information.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org
[jira] Resolved: (AXIS2-4719) Wrong time when parsing time without
time zone information.
Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-4719?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Amila Chinthaka Suriarachchi resolved AXIS2-4719.
-------------------------------------------------
Resolution: Fixed
fixed with revision 947267
> Wrong time when parsing time without time zone information.
> -----------------------------------------------------------
>
> Key: AXIS2-4719
> URL: https://issues.apache.org/jira/browse/AXIS2-4719
> Project: Axis2
> Issue Type: Bug
> Components: adb
> Environment: All
> Reporter: Rikard Swahn
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> Functions public static Date convertToDate(String source) and public static Calendar convertToDateTime(String source) returns wrong time when parsing a data without timezone information.
> When parsing a time without timezone set, default timezone is used, But, daylight saving is always set to zero (instead of using the local default daylight savings also). This gives the wrong time back when the local daylight savings is not zero.
> The fix is to only set daylight savings to zero ( calendar.set(Calendar.DST_OFFSET, 0); ) when the time has time zone information.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org
[jira] Commented: (AXIS2-4719) Wrong time when parsing time without
time zone information.
Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-4719?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12868749#action_12868749 ]
Amila Chinthaka Suriarachchi commented on AXIS2-4719:
-----------------------------------------------------
can you please attach a patch?
> Wrong time when parsing time without time zone information.
> -----------------------------------------------------------
>
> Key: AXIS2-4719
> URL: https://issues.apache.org/jira/browse/AXIS2-4719
> Project: Axis2
> Issue Type: Bug
> Components: adb
> Environment: All
> Reporter: Rikard Swahn
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> Functions public static Date convertToDate(String source) and public static Calendar convertToDateTime(String source) returns wrong time when parsing a data without timezone information.
> When parsing a time without timezone set, default timezone is used, But, daylight saving is always set to zero (instead of using the local default daylight savings also). This gives the wrong time back when the local daylight savings is not zero.
> The fix is to only set daylight savings to zero ( calendar.set(Calendar.DST_OFFSET, 0); ) when the time has time zone information.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org
[jira] Resolved: (AXIS2-4719) Wrong time when parsing time without
time zone information.
Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-4719?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Amila Chinthaka Suriarachchi resolved AXIS2-4719.
-------------------------------------------------
Resolution: Fixed
fixed with revision 947267
> Wrong time when parsing time without time zone information.
> -----------------------------------------------------------
>
> Key: AXIS2-4719
> URL: https://issues.apache.org/jira/browse/AXIS2-4719
> Project: Axis2
> Issue Type: Bug
> Components: adb
> Environment: All
> Reporter: Rikard Swahn
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> Functions public static Date convertToDate(String source) and public static Calendar convertToDateTime(String source) returns wrong time when parsing a data without timezone information.
> When parsing a time without timezone set, default timezone is used, But, daylight saving is always set to zero (instead of using the local default daylight savings also). This gives the wrong time back when the local daylight savings is not zero.
> The fix is to only set daylight savings to zero ( calendar.set(Calendar.DST_OFFSET, 0); ) when the time has time zone information.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org
[jira] Resolved: (AXIS2-4719) Wrong time when parsing time without
time zone information.
Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-4719?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Amila Chinthaka Suriarachchi resolved AXIS2-4719.
-------------------------------------------------
Resolution: Fixed
fixed with revision 947267
> Wrong time when parsing time without time zone information.
> -----------------------------------------------------------
>
> Key: AXIS2-4719
> URL: https://issues.apache.org/jira/browse/AXIS2-4719
> Project: Axis2
> Issue Type: Bug
> Components: adb
> Environment: All
> Reporter: Rikard Swahn
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> Functions public static Date convertToDate(String source) and public static Calendar convertToDateTime(String source) returns wrong time when parsing a data without timezone information.
> When parsing a time without timezone set, default timezone is used, But, daylight saving is always set to zero (instead of using the local default daylight savings also). This gives the wrong time back when the local daylight savings is not zero.
> The fix is to only set daylight savings to zero ( calendar.set(Calendar.DST_OFFSET, 0); ) when the time has time zone information.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org
[jira] Updated: (AXIS2-4719) Wrong time when parsing time without
time zone information.
Posted by "Rikard Swahn (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-4719?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rikard Swahn updated AXIS2-4719:
--------------------------------
Affects Version/s: (was: 1.5.1)
> Wrong time when parsing time without time zone information.
> -----------------------------------------------------------
>
> Key: AXIS2-4719
> URL: https://issues.apache.org/jira/browse/AXIS2-4719
> Project: Axis2
> Issue Type: Bug
> Components: adb
> Environment: All
> Reporter: Rikard Swahn
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> Functions public static Date convertToDate(String source) and public static Calendar convertToDateTime(String source) returns wrong time when parsing a data without timezone information.
> When parsing a time without timezone set, default timezone is used, But, daylight saving is always set to zero (instead of using the local default daylight savings also). This gives the wrong time back when the local daylight savings is not zero.
> The fix is to only set daylight savings to zero ( calendar.set(Calendar.DST_OFFSET, 0); ) when the time has time zone information.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org
[jira] Updated: (AXIS2-4719) Wrong time when parsing time without
time zone information.
Posted by "Rikard Swahn (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-4719?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rikard Swahn updated AXIS2-4719:
--------------------------------
Affects Version/s: (was: 1.5.1)
> Wrong time when parsing time without time zone information.
> -----------------------------------------------------------
>
> Key: AXIS2-4719
> URL: https://issues.apache.org/jira/browse/AXIS2-4719
> Project: Axis2
> Issue Type: Bug
> Components: adb
> Environment: All
> Reporter: Rikard Swahn
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> Functions public static Date convertToDate(String source) and public static Calendar convertToDateTime(String source) returns wrong time when parsing a data without timezone information.
> When parsing a time without timezone set, default timezone is used, But, daylight saving is always set to zero (instead of using the local default daylight savings also). This gives the wrong time back when the local daylight savings is not zero.
> The fix is to only set daylight savings to zero ( calendar.set(Calendar.DST_OFFSET, 0); ) when the time has time zone information.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org
[jira] Resolved: (AXIS2-4719) Wrong time when parsing time without
time zone information.
Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-4719?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Amila Chinthaka Suriarachchi resolved AXIS2-4719.
-------------------------------------------------
Resolution: Fixed
fixed with revision 947267
> Wrong time when parsing time without time zone information.
> -----------------------------------------------------------
>
> Key: AXIS2-4719
> URL: https://issues.apache.org/jira/browse/AXIS2-4719
> Project: Axis2
> Issue Type: Bug
> Components: adb
> Environment: All
> Reporter: Rikard Swahn
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> Functions public static Date convertToDate(String source) and public static Calendar convertToDateTime(String source) returns wrong time when parsing a data without timezone information.
> When parsing a time without timezone set, default timezone is used, But, daylight saving is always set to zero (instead of using the local default daylight savings also). This gives the wrong time back when the local daylight savings is not zero.
> The fix is to only set daylight savings to zero ( calendar.set(Calendar.DST_OFFSET, 0); ) when the time has time zone information.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org
[jira] Updated: (AXIS2-4719) Wrong time when parsing time without
time zone information.
Posted by "Rikard Swahn (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-4719?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rikard Swahn updated AXIS2-4719:
--------------------------------
Affects Version/s: (was: 1.5.1)
> Wrong time when parsing time without time zone information.
> -----------------------------------------------------------
>
> Key: AXIS2-4719
> URL: https://issues.apache.org/jira/browse/AXIS2-4719
> Project: Axis2
> Issue Type: Bug
> Components: adb
> Environment: All
> Reporter: Rikard Swahn
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> Functions public static Date convertToDate(String source) and public static Calendar convertToDateTime(String source) returns wrong time when parsing a data without timezone information.
> When parsing a time without timezone set, default timezone is used, But, daylight saving is always set to zero (instead of using the local default daylight savings also). This gives the wrong time back when the local daylight savings is not zero.
> The fix is to only set daylight savings to zero ( calendar.set(Calendar.DST_OFFSET, 0); ) when the time has time zone information.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org
[jira] Commented: (AXIS2-4719) Wrong time when parsing time without
time zone information.
Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-4719?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12868749#action_12868749 ]
Amila Chinthaka Suriarachchi commented on AXIS2-4719:
-----------------------------------------------------
can you please attach a patch?
> Wrong time when parsing time without time zone information.
> -----------------------------------------------------------
>
> Key: AXIS2-4719
> URL: https://issues.apache.org/jira/browse/AXIS2-4719
> Project: Axis2
> Issue Type: Bug
> Components: adb
> Environment: All
> Reporter: Rikard Swahn
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> Functions public static Date convertToDate(String source) and public static Calendar convertToDateTime(String source) returns wrong time when parsing a data without timezone information.
> When parsing a time without timezone set, default timezone is used, But, daylight saving is always set to zero (instead of using the local default daylight savings also). This gives the wrong time back when the local daylight savings is not zero.
> The fix is to only set daylight savings to zero ( calendar.set(Calendar.DST_OFFSET, 0); ) when the time has time zone information.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org
[jira] Updated: (AXIS2-4719) Wrong time when parsing time without
time zone information.
Posted by "Rikard Swahn (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-4719?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rikard Swahn updated AXIS2-4719:
--------------------------------
Affects Version/s: (was: 1.5.1)
> Wrong time when parsing time without time zone information.
> -----------------------------------------------------------
>
> Key: AXIS2-4719
> URL: https://issues.apache.org/jira/browse/AXIS2-4719
> Project: Axis2
> Issue Type: Bug
> Components: adb
> Environment: All
> Reporter: Rikard Swahn
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> Functions public static Date convertToDate(String source) and public static Calendar convertToDateTime(String source) returns wrong time when parsing a data without timezone information.
> When parsing a time without timezone set, default timezone is used, But, daylight saving is always set to zero (instead of using the local default daylight savings also). This gives the wrong time back when the local daylight savings is not zero.
> The fix is to only set daylight savings to zero ( calendar.set(Calendar.DST_OFFSET, 0); ) when the time has time zone information.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org
[jira] Commented: (AXIS2-4719) Wrong time when parsing time without
time zone information.
Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-4719?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12868749#action_12868749 ]
Amila Chinthaka Suriarachchi commented on AXIS2-4719:
-----------------------------------------------------
can you please attach a patch?
> Wrong time when parsing time without time zone information.
> -----------------------------------------------------------
>
> Key: AXIS2-4719
> URL: https://issues.apache.org/jira/browse/AXIS2-4719
> Project: Axis2
> Issue Type: Bug
> Components: adb
> Environment: All
> Reporter: Rikard Swahn
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> Functions public static Date convertToDate(String source) and public static Calendar convertToDateTime(String source) returns wrong time when parsing a data without timezone information.
> When parsing a time without timezone set, default timezone is used, But, daylight saving is always set to zero (instead of using the local default daylight savings also). This gives the wrong time back when the local daylight savings is not zero.
> The fix is to only set daylight savings to zero ( calendar.set(Calendar.DST_OFFSET, 0); ) when the time has time zone information.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org
[jira] Resolved: (AXIS2-4719) Wrong time when parsing time without
time zone information.
Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-4719?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Amila Chinthaka Suriarachchi resolved AXIS2-4719.
-------------------------------------------------
Resolution: Fixed
fixed with revision 947267
> Wrong time when parsing time without time zone information.
> -----------------------------------------------------------
>
> Key: AXIS2-4719
> URL: https://issues.apache.org/jira/browse/AXIS2-4719
> Project: Axis2
> Issue Type: Bug
> Components: adb
> Environment: All
> Reporter: Rikard Swahn
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> Functions public static Date convertToDate(String source) and public static Calendar convertToDateTime(String source) returns wrong time when parsing a data without timezone information.
> When parsing a time without timezone set, default timezone is used, But, daylight saving is always set to zero (instead of using the local default daylight savings also). This gives the wrong time back when the local daylight savings is not zero.
> The fix is to only set daylight savings to zero ( calendar.set(Calendar.DST_OFFSET, 0); ) when the time has time zone information.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org
[jira] Updated: (AXIS2-4719) Wrong time when parsing time without
time zone information.
Posted by "Rikard Swahn (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-4719?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rikard Swahn updated AXIS2-4719:
--------------------------------
Affects Version/s: (was: 1.5.1)
> Wrong time when parsing time without time zone information.
> -----------------------------------------------------------
>
> Key: AXIS2-4719
> URL: https://issues.apache.org/jira/browse/AXIS2-4719
> Project: Axis2
> Issue Type: Bug
> Components: adb
> Environment: All
> Reporter: Rikard Swahn
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> Functions public static Date convertToDate(String source) and public static Calendar convertToDateTime(String source) returns wrong time when parsing a data without timezone information.
> When parsing a time without timezone set, default timezone is used, But, daylight saving is always set to zero (instead of using the local default daylight savings also). This gives the wrong time back when the local daylight savings is not zero.
> The fix is to only set daylight savings to zero ( calendar.set(Calendar.DST_OFFSET, 0); ) when the time has time zone information.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org