{"id":452,"date":"2008-07-04T04:17:44","date_gmt":"2008-07-04T11:17:44","guid":{"rendered":"http:\/\/www.alephnaught.com\/Blog\/?p=452"},"modified":"2008-07-04T04:25:29","modified_gmt":"2008-07-04T11:25:29","slug":"patch-for-twitter-tools-plugins-timezone-problem","status":"publish","type":"post","link":"https:\/\/www.alephnaught.com\/Blog\/2008\/07\/04\/patch-for-twitter-tools-plugins-timezone-problem\/","title":{"rendered":"Patch for Twitter Tools plugin&#8217;s timezone problem"},"content":{"rendered":"<div id=\"content_div-452\">\n<p>Since I got an extra day off from work yesterday, I had some time to spend on solving a problem.  I use Twitter Tools to display my five most recent tweets on my blog, as well as creating a digest post of my tweets every day, and a notification tweet of new posts to my blog.  Its a really nice plugin and a good piece of work.  But, it has a bug &#8211; Twitter returns tweets in UTC time, while some of the key comparisons inside Twitter Tools uses local time.  This affected the digest posts; some tweets would appear on the wrong day.<\/p>\n<p>It was hard to find all the comparison items and get them converted to UTC time, so I decided to convert the tweet time to local time using the setting in the WordPress application.  I&#8217;ve posted this patch to the WordPress support forum at <a href=\"http:\/\/wordpress.org\/support\/topic\/127916?replies=4#post-796201\" target=\"_blank\">http:\/\/wordpress.org\/support\/topic\/127916?replies=4#post-796201<\/a>.  Here&#8217;s the patch as well (this patch only applies to the 1.2b1 version):<\/p>\n<pre><span style=\"font-size: 7pt;\">*** twitter-tools.php.0\tSun Apr 13 20:07:12 2008\r\n--- twitter-tools.php\tThu Jul  3 13:06:44 2008\r\n***************\r\n*** 401,406 ****\r\n--- 401,409 ----\r\n\r\n  \tfunction add() {\r\n  \t\tglobal $wpdb, $aktt;\r\n+ \t\t\/\/ RLH: The next line corrects Twitter's UTC to WordPress timezone setting\r\n+ \t\t$this-&gt;tw_created_at = $this-&gt;tw_created_at + (get_option('gmt_offset') * 3600);\r\n+ \t\t\/\/ RLH: End changes\r\n   \t\t$wpdb-&gt;query(\"\r\n  \t\t\tINSERT\r\n  \t\t\tINTO $wpdb-&gt;aktt\r\n***************\r\n*** 1353,1358 ****\r\n--- 1356,1364 ----\r\n  {\r\n\r\n  \t$now = time();\r\n+ \t\/\/ RLH: Must shift \"now\" back to proper timezone to match WordPress\r\n+ \t$now = $now +  + (get_option('gmt_offset') * 3600);\r\n+ \t\/\/ RLH: End changes\r\n\r\n  \t$time = gmmktime(\r\n  \t\tsubstr($date, 11, 2)<\/span><\/pre>\n<p><span style=\"font-family: sans-serif;\">I hope that helps make this plugin more effective.  Perhaps the author could eventually fix all the comparisons and we could go back to using UTC for everything, as I think that&#8217;s the right answer.  But, this works for now.<\/span><\/p>\n<\/div>\n<div class=\"translate_block\" style=\"display: none;\">\n<hr class=\"translate_hr\" \/>\n<a class=\"translate_translate\" id=\"translate_button_post-452\" lang=\"en\" xml:lang=\"en\" href=\"javascript:show_translate_popup('en', 'post', 452);\"><span>Translate<\/span><\/a><img data-recalc-dims=\"1\" src=\"https:\/\/i0.wp.com\/www.alephnaught.com\/Blog\/wp-content\/plugins\/google-ajax-translation\/transparent.gif?resize=16%2C16&#038;ssl=1\" id=\"translate_loading_post-452\" class=\"translate_loading colorbox-452\" style=\"display: none;\" width=\"16\" height=\"16\" alt=\"\" \/>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Since I got an extra day off from work yesterday, I had some time to spend on solving a problem. I use Twitter Tools to display my five most recent tweets on my blog, as well as creating a digest post of my tweets every day, and a notification tweet of new posts to my [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[4],"tags":[207,142],"class_list":["post-452","post","type-post","status-publish","format-standard","hentry","category-computer","tag-twitter-tools","tag-wordpress"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"Since I got an extra day off from work yesterday, I had some time to spend on solving a problem. I use Twitter Tools to display my five most recent tweets on my blog, as well as creating a digest post of my tweets every day, and a notification tweet of new posts to my\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"alephnaught\"\/>\n\t<meta name=\"keywords\" content=\"twitter tools,wordpress,computer\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.alephnaught.com\/Blog\/2008\/07\/04\/patch-for-twitter-tools-plugins-timezone-problem\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Aleph Naught &amp; the Null Set | Countably infinite and completely empty\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Patch for Twitter Tools plugin\u2019s timezone problem | Aleph Naught &amp; the Null Set\" \/>\n\t\t<meta property=\"og:description\" content=\"Since I got an extra day off from work yesterday, I had some time to spend on solving a problem. I use Twitter Tools to display my five most recent tweets on my blog, as well as creating a digest post of my tweets every day, and a notification tweet of new posts to my\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.alephnaught.com\/Blog\/2008\/07\/04\/patch-for-twitter-tools-plugins-timezone-problem\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/www.alephnaught.com\/Blog\/wp-content\/uploads\/2022\/07\/WebSiteProfileImage.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/www.alephnaught.com\/Blog\/wp-content\/uploads\/2022\/07\/WebSiteProfileImage.png\" \/>\n\t\t<meta property=\"og:image:width\" content=\"1000\" \/>\n\t\t<meta property=\"og:image:height\" content=\"1000\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2008-07-04T11:17:44-07:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2008-07-04T11:25:29-07:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/purplehayz\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@purplehayz\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Patch for Twitter Tools plugin\u2019s timezone problem | Aleph Naught &amp; the Null Set\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Since I got an extra day off from work yesterday, I had some time to spend on solving a problem. I use Twitter Tools to display my five most recent tweets on my blog, as well as creating a digest post of my tweets every day, and a notification tweet of new posts to my\" \/>\n\t\t<meta name=\"twitter:creator\" content=\"@purplehayz\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/www.alephnaught.com\/Blog\/wp-content\/uploads\/2022\/07\/WebSiteProfileImage.png\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.alephnaught.com\\\/Blog\\\/2008\\\/07\\\/04\\\/patch-for-twitter-tools-plugins-timezone-problem\\\/#article\",\"name\":\"Patch for Twitter Tools plugin\\u2019s timezone problem | Aleph Naught & the Null Set\",\"headline\":\"Patch for Twitter Tools plugin&#8217;s timezone problem\",\"author\":{\"@id\":\"https:\\\/\\\/www.alephnaught.com\\\/Blog\\\/author\\\/alephnaught\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.alephnaught.com\\\/Blog\\\/#person\"},\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.alephnaught.com\\\/Blog\\\/2008\\\/07\\\/04\\\/patch-for-twitter-tools-plugins-timezone-problem\\\/#articleImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0f259c96e0d173d910be6c661ba7373b1e02b617edb827dd8d292aabd174f459?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"alephnaught\"},\"datePublished\":\"2008-07-04T04:17:44-07:00\",\"dateModified\":\"2008-07-04T04:25:29-07:00\",\"inLanguage\":\"en-US\",\"commentCount\":5,\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.alephnaught.com\\\/Blog\\\/2008\\\/07\\\/04\\\/patch-for-twitter-tools-plugins-timezone-problem\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.alephnaught.com\\\/Blog\\\/2008\\\/07\\\/04\\\/patch-for-twitter-tools-plugins-timezone-problem\\\/#webpage\"},\"articleSection\":\"Computer, twitter tools, wordpress\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.alephnaught.com\\\/Blog\\\/2008\\\/07\\\/04\\\/patch-for-twitter-tools-plugins-timezone-problem\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.alephnaught.com\\\/Blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.alephnaught.com\\\/Blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.alephnaught.com\\\/Blog\\\/category\\\/computer\\\/#listItem\",\"name\":\"Computer\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.alephnaught.com\\\/Blog\\\/category\\\/computer\\\/#listItem\",\"position\":2,\"name\":\"Computer\",\"item\":\"https:\\\/\\\/www.alephnaught.com\\\/Blog\\\/category\\\/computer\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.alephnaught.com\\\/Blog\\\/2008\\\/07\\\/04\\\/patch-for-twitter-tools-plugins-timezone-problem\\\/#listItem\",\"name\":\"Patch for Twitter Tools plugin&#8217;s timezone problem\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.alephnaught.com\\\/Blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.alephnaught.com\\\/Blog\\\/2008\\\/07\\\/04\\\/patch-for-twitter-tools-plugins-timezone-problem\\\/#listItem\",\"position\":3,\"name\":\"Patch for Twitter Tools plugin&#8217;s timezone problem\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.alephnaught.com\\\/Blog\\\/category\\\/computer\\\/#listItem\",\"name\":\"Computer\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.alephnaught.com\\\/Blog\\\/#person\",\"name\":\"alephnaught\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.alephnaught.com\\\/Blog\\\/2008\\\/07\\\/04\\\/patch-for-twitter-tools-plugins-timezone-problem\\\/#personImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0f259c96e0d173d910be6c661ba7373b1e02b617edb827dd8d292aabd174f459?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"alephnaught\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.alephnaught.com\\\/Blog\\\/author\\\/alephnaught\\\/#author\",\"url\":\"https:\\\/\\\/www.alephnaught.com\\\/Blog\\\/author\\\/alephnaught\\\/\",\"name\":\"alephnaught\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.alephnaught.com\\\/Blog\\\/2008\\\/07\\\/04\\\/patch-for-twitter-tools-plugins-timezone-problem\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0f259c96e0d173d910be6c661ba7373b1e02b617edb827dd8d292aabd174f459?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"alephnaught\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.alephnaught.com\\\/Blog\\\/2008\\\/07\\\/04\\\/patch-for-twitter-tools-plugins-timezone-problem\\\/#webpage\",\"url\":\"https:\\\/\\\/www.alephnaught.com\\\/Blog\\\/2008\\\/07\\\/04\\\/patch-for-twitter-tools-plugins-timezone-problem\\\/\",\"name\":\"Patch for Twitter Tools plugin\\u2019s timezone problem | Aleph Naught & the Null Set\",\"description\":\"Since I got an extra day off from work yesterday, I had some time to spend on solving a problem. I use Twitter Tools to display my five most recent tweets on my blog, as well as creating a digest post of my tweets every day, and a notification tweet of new posts to my\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.alephnaught.com\\\/Blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.alephnaught.com\\\/Blog\\\/2008\\\/07\\\/04\\\/patch-for-twitter-tools-plugins-timezone-problem\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.alephnaught.com\\\/Blog\\\/author\\\/alephnaught\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.alephnaught.com\\\/Blog\\\/author\\\/alephnaught\\\/#author\"},\"datePublished\":\"2008-07-04T04:17:44-07:00\",\"dateModified\":\"2008-07-04T04:25:29-07:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.alephnaught.com\\\/Blog\\\/#website\",\"url\":\"https:\\\/\\\/www.alephnaught.com\\\/Blog\\\/\",\"name\":\"Aleph Naught & the Null Set\",\"description\":\"Countably infinite and completely empty\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.alephnaught.com\\\/Blog\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Patch for Twitter Tools plugin\u2019s timezone problem | Aleph Naught & the Null Set","description":"Since I got an extra day off from work yesterday, I had some time to spend on solving a problem. I use Twitter Tools to display my five most recent tweets on my blog, as well as creating a digest post of my tweets every day, and a notification tweet of new posts to my","canonical_url":"https:\/\/www.alephnaught.com\/Blog\/2008\/07\/04\/patch-for-twitter-tools-plugins-timezone-problem\/","robots":"max-image-preview:large","keywords":"twitter tools,wordpress,computer","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.alephnaught.com\/Blog\/2008\/07\/04\/patch-for-twitter-tools-plugins-timezone-problem\/#article","name":"Patch for Twitter Tools plugin\u2019s timezone problem | Aleph Naught & the Null Set","headline":"Patch for Twitter Tools plugin&#8217;s timezone problem","author":{"@id":"https:\/\/www.alephnaught.com\/Blog\/author\/alephnaught\/#author"},"publisher":{"@id":"https:\/\/www.alephnaught.com\/Blog\/#person"},"image":{"@type":"ImageObject","@id":"https:\/\/www.alephnaught.com\/Blog\/2008\/07\/04\/patch-for-twitter-tools-plugins-timezone-problem\/#articleImage","url":"https:\/\/secure.gravatar.com\/avatar\/0f259c96e0d173d910be6c661ba7373b1e02b617edb827dd8d292aabd174f459?s=96&d=mm&r=g","width":96,"height":96,"caption":"alephnaught"},"datePublished":"2008-07-04T04:17:44-07:00","dateModified":"2008-07-04T04:25:29-07:00","inLanguage":"en-US","commentCount":5,"mainEntityOfPage":{"@id":"https:\/\/www.alephnaught.com\/Blog\/2008\/07\/04\/patch-for-twitter-tools-plugins-timezone-problem\/#webpage"},"isPartOf":{"@id":"https:\/\/www.alephnaught.com\/Blog\/2008\/07\/04\/patch-for-twitter-tools-plugins-timezone-problem\/#webpage"},"articleSection":"Computer, twitter tools, wordpress"},{"@type":"BreadcrumbList","@id":"https:\/\/www.alephnaught.com\/Blog\/2008\/07\/04\/patch-for-twitter-tools-plugins-timezone-problem\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.alephnaught.com\/Blog#listItem","position":1,"name":"Home","item":"https:\/\/www.alephnaught.com\/Blog","nextItem":{"@type":"ListItem","@id":"https:\/\/www.alephnaught.com\/Blog\/category\/computer\/#listItem","name":"Computer"}},{"@type":"ListItem","@id":"https:\/\/www.alephnaught.com\/Blog\/category\/computer\/#listItem","position":2,"name":"Computer","item":"https:\/\/www.alephnaught.com\/Blog\/category\/computer\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.alephnaught.com\/Blog\/2008\/07\/04\/patch-for-twitter-tools-plugins-timezone-problem\/#listItem","name":"Patch for Twitter Tools plugin&#8217;s timezone problem"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.alephnaught.com\/Blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.alephnaught.com\/Blog\/2008\/07\/04\/patch-for-twitter-tools-plugins-timezone-problem\/#listItem","position":3,"name":"Patch for Twitter Tools plugin&#8217;s timezone problem","previousItem":{"@type":"ListItem","@id":"https:\/\/www.alephnaught.com\/Blog\/category\/computer\/#listItem","name":"Computer"}}]},{"@type":"Person","@id":"https:\/\/www.alephnaught.com\/Blog\/#person","name":"alephnaught","image":{"@type":"ImageObject","@id":"https:\/\/www.alephnaught.com\/Blog\/2008\/07\/04\/patch-for-twitter-tools-plugins-timezone-problem\/#personImage","url":"https:\/\/secure.gravatar.com\/avatar\/0f259c96e0d173d910be6c661ba7373b1e02b617edb827dd8d292aabd174f459?s=96&d=mm&r=g","width":96,"height":96,"caption":"alephnaught"}},{"@type":"Person","@id":"https:\/\/www.alephnaught.com\/Blog\/author\/alephnaught\/#author","url":"https:\/\/www.alephnaught.com\/Blog\/author\/alephnaught\/","name":"alephnaught","image":{"@type":"ImageObject","@id":"https:\/\/www.alephnaught.com\/Blog\/2008\/07\/04\/patch-for-twitter-tools-plugins-timezone-problem\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/0f259c96e0d173d910be6c661ba7373b1e02b617edb827dd8d292aabd174f459?s=96&d=mm&r=g","width":96,"height":96,"caption":"alephnaught"}},{"@type":"WebPage","@id":"https:\/\/www.alephnaught.com\/Blog\/2008\/07\/04\/patch-for-twitter-tools-plugins-timezone-problem\/#webpage","url":"https:\/\/www.alephnaught.com\/Blog\/2008\/07\/04\/patch-for-twitter-tools-plugins-timezone-problem\/","name":"Patch for Twitter Tools plugin\u2019s timezone problem | Aleph Naught & the Null Set","description":"Since I got an extra day off from work yesterday, I had some time to spend on solving a problem. I use Twitter Tools to display my five most recent tweets on my blog, as well as creating a digest post of my tweets every day, and a notification tweet of new posts to my","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.alephnaught.com\/Blog\/#website"},"breadcrumb":{"@id":"https:\/\/www.alephnaught.com\/Blog\/2008\/07\/04\/patch-for-twitter-tools-plugins-timezone-problem\/#breadcrumblist"},"author":{"@id":"https:\/\/www.alephnaught.com\/Blog\/author\/alephnaught\/#author"},"creator":{"@id":"https:\/\/www.alephnaught.com\/Blog\/author\/alephnaught\/#author"},"datePublished":"2008-07-04T04:17:44-07:00","dateModified":"2008-07-04T04:25:29-07:00"},{"@type":"WebSite","@id":"https:\/\/www.alephnaught.com\/Blog\/#website","url":"https:\/\/www.alephnaught.com\/Blog\/","name":"Aleph Naught & the Null Set","description":"Countably infinite and completely empty","inLanguage":"en-US","publisher":{"@id":"https:\/\/www.alephnaught.com\/Blog\/#person"}}]},"og:locale":"en_US","og:site_name":"Aleph Naught &amp; the Null Set | Countably infinite and completely empty","og:type":"article","og:title":"Patch for Twitter Tools plugin\u2019s timezone problem | Aleph Naught &amp; the Null Set","og:description":"Since I got an extra day off from work yesterday, I had some time to spend on solving a problem. I use Twitter Tools to display my five most recent tweets on my blog, as well as creating a digest post of my tweets every day, and a notification tweet of new posts to my","og:url":"https:\/\/www.alephnaught.com\/Blog\/2008\/07\/04\/patch-for-twitter-tools-plugins-timezone-problem\/","og:image":"https:\/\/www.alephnaught.com\/Blog\/wp-content\/uploads\/2022\/07\/WebSiteProfileImage.png","og:image:secure_url":"https:\/\/www.alephnaught.com\/Blog\/wp-content\/uploads\/2022\/07\/WebSiteProfileImage.png","og:image:width":1000,"og:image:height":1000,"article:published_time":"2008-07-04T11:17:44-07:00","article:modified_time":"2008-07-04T11:25:29-07:00","article:publisher":"https:\/\/www.facebook.com\/purplehayz","twitter:card":"summary","twitter:site":"@purplehayz","twitter:title":"Patch for Twitter Tools plugin\u2019s timezone problem | Aleph Naught &amp; the Null Set","twitter:description":"Since I got an extra day off from work yesterday, I had some time to spend on solving a problem. I use Twitter Tools to display my five most recent tweets on my blog, as well as creating a digest post of my tweets every day, and a notification tweet of new posts to my","twitter:creator":"@purplehayz","twitter:image":"https:\/\/www.alephnaught.com\/Blog\/wp-content\/uploads\/2022\/07\/WebSiteProfileImage.png"},"aioseo_meta_data":{"post_id":"452","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[],"defaultGraph":"","defaultPostTypeGraph":""},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"location":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2020-12-21 12:55:18","updated":"2025-06-05 12:50:14","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.alephnaught.com\/Blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.alephnaught.com\/Blog\/category\/computer\/\" title=\"Computer\">Computer<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tPatch for Twitter Tools plugin\u2019s timezone problem\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.alephnaught.com\/Blog"},{"label":"Computer","link":"https:\/\/www.alephnaught.com\/Blog\/category\/computer\/"},{"label":"Patch for Twitter Tools plugin&#8217;s timezone problem","link":"https:\/\/www.alephnaught.com\/Blog\/2008\/07\/04\/patch-for-twitter-tools-plugins-timezone-problem\/"}],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p2w3Qj-7i","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.alephnaught.com\/Blog\/wp-json\/wp\/v2\/posts\/452","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.alephnaught.com\/Blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.alephnaught.com\/Blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.alephnaught.com\/Blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.alephnaught.com\/Blog\/wp-json\/wp\/v2\/comments?post=452"}],"version-history":[{"count":0,"href":"https:\/\/www.alephnaught.com\/Blog\/wp-json\/wp\/v2\/posts\/452\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.alephnaught.com\/Blog\/wp-json\/wp\/v2\/media?parent=452"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.alephnaught.com\/Blog\/wp-json\/wp\/v2\/categories?post=452"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.alephnaught.com\/Blog\/wp-json\/wp\/v2\/tags?post=452"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}