Fix bug 305432 - setting nativeTime sets timezone to UTC. r=philipp
authorDaniel Boelzle [:dbo] <daniel.boelzle@sun.com>
Wed, 29 Oct 2008 10:36:06 +0100
changeset 759 5893a5dcb678e01c6736c9c2fb2a3eff42f2b7d3
parent 758 b057a77bb9e39f91f99630de0b05eae27c064159
child 760 043bc1d53edbfa2c216a8f763f13510521223cdd
push idunknown
push userunknown
push dateunknown
reviewersphilipp
bugs305432
Fix bug 305432 - setting nativeTime sets timezone to UTC. r=philipp
calendar/base/public/calIDateTime.idl
--- a/calendar/base/public/calIDateTime.idl
+++ b/calendar/base/public/calIDateTime.idl
@@ -69,18 +69,18 @@ interface calIDateTime : nsISupports
    */
   // true if this thing is set/valid
   readonly attribute boolean isValid;
 
   /**
    * nativeTime contains this instance's PRTime value relative
    * to the UTC epoch, regardless of the timezone that's set
    * on this instance.  If nativeTime is set, the given UTC PRTime
-   * value is exploded into year/month/etc, taking into account
-   * the timezone setting.
+   * value is exploded into year/month/etc, forcing the timezone
+   * setting to UTC.
    *
    * @warning: When the timezone is set to 'floating', this will return
    * the nativeTime as-if the timezone was UTC. Take this into account
    * when comparing values.
    *
    * @note on objects that are pinned to a timezone and have isDate set,
    * nativeTime will be 00:00:00 in the timezone of that date, not 00:00:00 in
    * UTC.