adium 2174:0fefa6482887: Save the minutes properly for NDT timez...
commits at adium.im
commits at adium.im
Wed May 13 05:28:51 UTC 2009
details: http://hg.adium.im/adium/rev/0fefa6482887
revision: 2174:0fefa6482887
author: Zachary West <zacw at adium.im>
date: Wed May 13 01:28:28 2009 -0400
Save the minutes properly for NDT timezone in ISO8601 unparsing. Fixes #9557.
diffstat:
ChangeLogs/Changes.txt | 1 +
Frameworks/AIUtilities Framework/Source/NSCalendarDate+ISO8601Unparsing.m | 2 +-
2 files changed, 2 insertions(+), 1 deletions(-)
diffs (23 lines):
diff -r 8b1fe48692c7 -r 0fefa6482887 ChangeLogs/Changes.txt
--- a/ChangeLogs/Changes.txt Wed May 13 00:45:16 2009 -0400
+++ b/ChangeLogs/Changes.txt Wed May 13 01:28:28 2009 -0400
@@ -106,6 +106,7 @@
* Fixed clicking service links with message text when the link appears in the window it would open.
* When a new file transfer arrives which requires confirmation, the chat's unviewed content count is increased.
* A new message no longer unminimizes the chat window. (#52)
+ * Fixed logging in St. John's Newfoundland's time zone. (#9557)
Accounts
* Fixed setting a global user icon. Previously, if you didn't have an account icon set but did set a global one, you would have no icon.
diff -r 8b1fe48692c7 -r 0fefa6482887 Frameworks/AIUtilities Framework/Source/NSCalendarDate+ISO8601Unparsing.m
--- a/Frameworks/AIUtilities Framework/Source/NSCalendarDate+ISO8601Unparsing.m Wed May 13 00:45:16 2009 -0400
+++ b/Frameworks/AIUtilities Framework/Source/NSCalendarDate+ISO8601Unparsing.m Wed May 13 01:28:28 2009 -0400
@@ -40,7 +40,7 @@
if(offset == 0)
str = [str stringByAppendingString:@"Z"];
if(offset < 0)
- str = [str stringByAppendingFormat:@"-%02d:%02d", -offset / 60, offset % 60];
+ str = [str stringByAppendingFormat:@"-%02d:%02d", -offset / 60, -offset % 60];
else
str = [str stringByAppendingFormat:@"+%02d:%02d", offset / 60, offset % 60];
}
More information about the commits
mailing list