{"id":1031,"date":"2008-07-21T09:48:43","date_gmt":"2008-07-21T14:48:43","guid":{"rendered":"http:\/\/zibland.com\/blog\/?p=841"},"modified":"2008-07-21T09:48:43","modified_gmt":"2008-07-21T14:48:43","slug":"problems-with-date-difference-on-older-oses","status":"publish","type":"post","link":"http:\/\/old.zibland.com\/blog\/?p=1031","title":{"rendered":"Problems With Date Difference On Older OSes"},"content":{"rendered":"<p>As Hans Swinnen <a href=\"http:\/\/zibland.com\/blog\/?p=836#comment-3357\">pointed out<\/a> in the comments on the Date Difference post, Date Difference doesn&#8217;t seem to work all the time on older versions of OS X. I checked, and found that the reason for that is that I built it with the 10.5 SDK instead of an older one. I have version 1.1 ready, built with the 10.4 SDK <s>(I&#8217;m working on getting a 10.3 SDK so I can make it as compatible as I said it was&#8230;)<\/s> <b>UPDATE:<\/b> Ok, forget 10.3. Sorry, but it&#8217;s too much of a headache to get 10.3 support working. I got the SDK installed, but when I tried to build, it spat out no less than 12 errors at me, which I really don&#8217;t want to fix. If you&#8217;re using 10.3, sorry but you&#8217;re out of luck.<\/p>\n<p>I have a 10.5 machine myself, as well as a 10.3 machine, but <b>I find myself in need of a beta tester for 10.4<\/b>, if anyone would be would like to help out.<\/p>\n<p><b>UPDATE:<\/b> It also seems that any two dates with more than 2147483647 seconds in between&#8230;doesn&#8217;t work. If you&#8217;re getting a negative result, it&#8217;s a bug. I&#8217;m working on fixing this, and I should have version 1.1 out tonight or tomorrow, with <s>full backwards compatibility<\/s> backwards compatibility to 10.4, support for greater time intervals, and one or two other features I&#8217;ve implemented since 1.0&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>As Hans Swinnen pointed out in the comments on the Date Difference post, Date Difference doesn&#8217;t seem to work all the time on older versions of OS X. I checked, and found that the reason for that is that I built it with the 10.5 SDK instead of an older one. I have version 1.1 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[37,38],"class_list":["post-1031","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-apps","tag-date-difference"],"_links":{"self":[{"href":"http:\/\/old.zibland.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1031","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/old.zibland.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/old.zibland.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/old.zibland.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/old.zibland.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1031"}],"version-history":[{"count":0,"href":"http:\/\/old.zibland.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1031\/revisions"}],"wp:attachment":[{"href":"http:\/\/old.zibland.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1031"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/old.zibland.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1031"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/old.zibland.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1031"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}