Fix incorrect LocalTime strings when timezone is behind UTC and not an integer number...
[libdcp.git] / src / local_time.h
index ad55ad5a8ee372d959d31019db76804c44e1920e..20658eb4d92b1caf7d92ce32d984e994318027d5 100644 (file)
@@ -84,8 +84,11 @@ private:
        int _second; ///< second number of the minute (0-59)
        int _millisecond; ///< millisecond number of the second (0-999)
 
-       int _tz_hour;   ///< hours by which this time is offset from UTC
-       int _tz_minute; ///< minutes by which this time is offset from UTC
+       int _tz_hour; ///< hours by which this time is offset from UTC; can be negative
+       /** Minutes by which this time is offset from UTC; if _tz_hour is negative
+        *  this will be either 0 or negative.
+        */
+       int _tz_minute;
 };
 
 std::ostream&