{"id":545,"date":"2006-08-06T11:03:51","date_gmt":"2006-08-06T16:03:51","guid":{"rendered":"http:\/\/www.shamusyoung.com\/twentysidedtale\/?p=545"},"modified":"2006-08-06T11:13:03","modified_gmt":"2006-08-06T16:13:03","slug":"useless-stats-by-hour","status":"publish","type":"post","link":"https:\/\/www.shamusyoung.com\/twentysidedtale\/?p=545","title":{"rendered":"Useless Stats by Hour"},"content":{"rendered":"<p>I&#8217;m fiddling around with my <a href=\"?p=443\">WordPress plugin<\/a> and I added a feature to show posts sorted by what hour of the day they were posted, just because I wanted to see what that would look like. Of course, I already had an idea of what it would look like before I wrote it, and I was quite confused when what I made didn&#8217;t match my expectations.  Geeks are funny that way.<\/p>\n<p>I most often post either during lunch, or when I knock off work between 5pm and 6pm.  So, what I expected to see was a mostly flat grid, with a spike in the noon hour, and then another spike at 5pm.  What I got was&#8230;<\/p>\n<table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"448\">\n<tr>\n<td colspan='3' bgcolor='#14568A'><font face='Times New Roman' color='#C3DEF1' size='+2'>Posts by Hour<\/font><\/td>\n<\/tr>\n<tr>\n<td colspan='3'>\n<p><i>This shows how many of the blog&#8217;s posts are published by hour of the day.  This can be useful to see what time of day sees the most posting activity.<\/i> <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td width='90'><small>Midnight:<\/small><\/td>\n<td><small>7<\/small><\/td>\n<td width=\"320\">\n<table width=\"4\" cellpadding=\"0\" callspacing=\"0\" height=\"1\" bgcolor=\"#448ABD\" bordercolor=\"#6DA6D1\" border=2 align=\"left\">\n<tr>\n<td><\/td>\n<\/tr>\n<\/table>\n<p><small>(1%)<\/small><\/td>\n<\/tr>\n<tr>\n<td width='90'><small>1:00:<\/small><\/td>\n<td><small>2<\/small><\/td>\n<td width=\"320\">\n<table width=\"1\" cellpadding=\"0\" callspacing=\"0\" height=\"1\" bgcolor=\"#448ABD\" bordercolor=\"#6DA6D1\" border=2 align=\"left\">\n<tr>\n<td><\/td>\n<\/tr>\n<\/table>\n<p><small>(0%)<\/small><\/td>\n<\/tr>\n<tr>\n<td width='90'><small>2:00:<\/small><\/td>\n<td><small>1<\/small><\/td>\n<td width=\"320\">\n<table width=\"0\" cellpadding=\"0\" callspacing=\"0\" height=\"1\" bgcolor=\"#448ABD\" bordercolor=\"#6DA6D1\" border=2 align=\"left\">\n<tr>\n<td><\/td>\n<\/tr>\n<\/table>\n<p><small>(0%)<\/small><\/td>\n<\/tr>\n<tr>\n<td width='90'><small>3:00:<\/small><\/td>\n<td><small>1<\/small><\/td>\n<td width=\"320\">\n<table width=\"0\" cellpadding=\"0\" callspacing=\"0\" height=\"1\" bgcolor=\"#448ABD\" bordercolor=\"#6DA6D1\" border=2 align=\"left\">\n<tr>\n<td><\/td>\n<\/tr>\n<\/table>\n<p><small>(0%)<\/small><\/td>\n<\/tr>\n<tr>\n<td width='90'><small>4:00:<\/small><\/td>\n<td><small>0<\/small><\/td>\n<td width=\"320\">\n<table width=\"0\" cellpadding=\"0\" callspacing=\"0\" height=\"1\" bgcolor=\"#448ABD\" bordercolor=\"#6DA6D1\" border=2 align=\"left\">\n<tr>\n<td><\/td>\n<\/tr>\n<\/table>\n<p><small>(0%)<\/small><\/td>\n<\/tr>\n<tr>\n<td width='90'><small>5:00:<\/small><\/td>\n<td><small>3<\/small><\/td>\n<td width=\"320\">\n<table width=\"1\" cellpadding=\"0\" callspacing=\"0\" height=\"1\" bgcolor=\"#448ABD\" bordercolor=\"#6DA6D1\" border=2 align=\"left\">\n<tr>\n<td><\/td>\n<\/tr>\n<\/table>\n<p><small>(0%)<\/small><\/td>\n<\/tr>\n<tr>\n<td width='90'><small>6:00:<\/small><\/td>\n<td><small>5<\/small><\/td>\n<td width=\"320\">\n<table width=\"3\" cellpadding=\"0\" callspacing=\"0\" height=\"1\" bgcolor=\"#448ABD\" bordercolor=\"#6DA6D1\" border=2 align=\"left\">\n<tr>\n<td><\/td>\n<\/tr>\n<\/table>\n<p><small>(1%)<\/small><\/td>\n<\/tr>\n<tr>\n<td width='90'><small>7:00:<\/small><\/td>\n<td><small>9<\/small><\/td>\n<td width=\"320\">\n<table width=\"5\" cellpadding=\"0\" callspacing=\"0\" height=\"1\" bgcolor=\"#448ABD\" bordercolor=\"#6DA6D1\" border=2 align=\"left\">\n<tr>\n<td><\/td>\n<\/tr>\n<\/table>\n<p><small>(2%)<\/small><\/td>\n<\/tr>\n<tr>\n<td width='90'><small>8:00:<\/small><\/td>\n<td><small>13<\/small><\/td>\n<td width=\"320\">\n<table width=\"8\" cellpadding=\"0\" callspacing=\"0\" height=\"1\" bgcolor=\"#448ABD\" bordercolor=\"#6DA6D1\" border=2 align=\"left\">\n<tr>\n<td><\/td>\n<\/tr>\n<\/table>\n<p><small>(2%)<\/small><\/td>\n<\/tr>\n<tr>\n<td width='90'><small>9:00:<\/small><\/td>\n<td><small>5<\/small><\/td>\n<td width=\"320\">\n<table width=\"3\" cellpadding=\"0\" callspacing=\"0\" height=\"1\" bgcolor=\"#448ABD\" bordercolor=\"#6DA6D1\" border=2 align=\"left\">\n<tr>\n<td><\/td>\n<\/tr>\n<\/table>\n<p><small>(1%)<\/small><\/td>\n<\/tr>\n<tr>\n<td width='90'><small>10:00:<\/small><\/td>\n<td><small>20<\/small><\/td>\n<td width=\"320\">\n<table width=\"13\" cellpadding=\"0\" callspacing=\"0\" height=\"1\" bgcolor=\"#448ABD\" bordercolor=\"#6DA6D1\" border=2 align=\"left\">\n<tr>\n<td><\/td>\n<\/tr>\n<\/table>\n<p><small>(4%)<\/small><\/td>\n<\/tr>\n<tr>\n<td width='90'><small>11:00:<\/small><\/td>\n<td><small>55<\/small><\/td>\n<td width=\"320\">\n<table width=\"36\" cellpadding=\"0\" callspacing=\"0\" height=\"1\" bgcolor=\"#448ABD\" bordercolor=\"#6DA6D1\" border=2 align=\"left\">\n<tr>\n<td><\/td>\n<\/tr>\n<\/table>\n<p><small>(12%)<\/small><\/td>\n<\/tr>\n<tr>\n<td width='90'><small>Noon:<\/small><\/td>\n<td><small>50<\/small><\/td>\n<td width=\"320\">\n<table width=\"33\" cellpadding=\"0\" callspacing=\"0\" height=\"1\" bgcolor=\"#448ABD\" bordercolor=\"#6DA6D1\" border=2 align=\"left\">\n<tr>\n<td><\/td>\n<\/tr>\n<\/table>\n<p><small>(11%)<\/small><\/td>\n<\/tr>\n<tr>\n<td width='90'><small>13:00:<\/small><\/td>\n<td><small>19<\/small><\/td>\n<td width=\"320\">\n<table width=\"12\" cellpadding=\"0\" callspacing=\"0\" height=\"1\" bgcolor=\"#448ABD\" bordercolor=\"#6DA6D1\" border=2 align=\"left\">\n<tr>\n<td><\/td>\n<\/tr>\n<\/table>\n<p><small>(4%)<\/small><\/td>\n<\/tr>\n<tr>\n<td width='90'><small>14:00:<\/small><\/td>\n<td><small>19<\/small><\/td>\n<td width=\"320\">\n<table width=\"12\" cellpadding=\"0\" callspacing=\"0\" height=\"1\" bgcolor=\"#448ABD\" bordercolor=\"#6DA6D1\" border=2 align=\"left\">\n<tr>\n<td><\/td>\n<\/tr>\n<\/table>\n<p><small>(4%)<\/small><\/td>\n<\/tr>\n<tr>\n<td width='90'><small>15:00:<\/small><\/td>\n<td><small>13<\/small><\/td>\n<td width=\"320\">\n<table width=\"8\" cellpadding=\"0\" callspacing=\"0\" height=\"1\" bgcolor=\"#448ABD\" bordercolor=\"#6DA6D1\" border=2 align=\"left\">\n<tr>\n<td><\/td>\n<\/tr>\n<\/table>\n<p><small>(2%)<\/small><\/td>\n<\/tr>\n<tr>\n<td width='90'><small>16:00:<\/small><\/td>\n<td><small>53<\/small><\/td>\n<td width=\"320\">\n<table width=\"35\" cellpadding=\"0\" callspacing=\"0\" height=\"1\" bgcolor=\"#448ABD\" bordercolor=\"#6DA6D1\" border=2 align=\"left\">\n<tr>\n<td><\/td>\n<\/tr>\n<\/table>\n<p><small>(12%)<\/small><\/td>\n<\/tr>\n<tr>\n<td width='90'><small>17:00:<\/small><\/td>\n<td><small>43<\/small><\/td>\n<td width=\"320\">\n<table width=\"28\" cellpadding=\"0\" callspacing=\"0\" height=\"1\" bgcolor=\"#448ABD\" bordercolor=\"#6DA6D1\" border=2 align=\"left\">\n<tr>\n<td><\/td>\n<\/tr>\n<\/table>\n<p><small>(9%)<\/small><\/td>\n<\/tr>\n<tr>\n<td width='90'><small>18:00:<\/small><\/td>\n<td><small>30<\/small><\/td>\n<td width=\"320\">\n<table width=\"19\" cellpadding=\"0\" callspacing=\"0\" height=\"1\" bgcolor=\"#448ABD\" bordercolor=\"#6DA6D1\" border=2 align=\"left\">\n<tr>\n<td><\/td>\n<\/tr>\n<\/table>\n<p><small>(6%)<\/small><\/td>\n<\/tr>\n<tr>\n<td width='90'><small>19:00:<\/small><\/td>\n<td><small>29<\/small><\/td>\n<td width=\"320\">\n<table width=\"19\" cellpadding=\"0\" callspacing=\"0\" height=\"1\" bgcolor=\"#448ABD\" bordercolor=\"#6DA6D1\" border=2 align=\"left\">\n<tr>\n<td><\/td>\n<\/tr>\n<\/table>\n<p><small>(6%)<\/small><\/td>\n<\/tr>\n<tr>\n<td width='90'><small>20:00:<\/small><\/td>\n<td><small>21<\/small><\/td>\n<td width=\"320\">\n<table width=\"13\" cellpadding=\"0\" callspacing=\"0\" height=\"1\" bgcolor=\"#448ABD\" bordercolor=\"#6DA6D1\" border=2 align=\"left\">\n<tr>\n<td><\/td>\n<\/tr>\n<\/table>\n<p><small>(4%)<\/small><\/td>\n<\/tr>\n<tr>\n<td width='90'><small>21:00:<\/small><\/td>\n<td><small>12<\/small><\/td>\n<td width=\"320\">\n<table width=\"7\" cellpadding=\"0\" callspacing=\"0\" height=\"1\" bgcolor=\"#448ABD\" bordercolor=\"#6DA6D1\" border=2 align=\"left\">\n<tr>\n<td><\/td>\n<\/tr>\n<\/table>\n<p><small>(2%)<\/small><\/td>\n<\/tr>\n<tr>\n<td width='90'><small>22:00:<\/small><\/td>\n<td><small>19<\/small><\/td>\n<td width=\"320\">\n<table width=\"12\" cellpadding=\"0\" callspacing=\"0\" height=\"1\" bgcolor=\"#448ABD\" bordercolor=\"#6DA6D1\" border=2 align=\"left\">\n<tr>\n<td><\/td>\n<\/tr>\n<\/table>\n<p><small>(4%)<\/small><\/td>\n<\/tr>\n<tr>\n<td width='90'><small>23:00:<\/small><\/td>\n<td><small>10<\/small><\/td>\n<td width=\"320\">\n<table width=\"6\" cellpadding=\"0\" callspacing=\"0\" height=\"1\" bgcolor=\"#448ABD\" bordercolor=\"#6DA6D1\" border=2 align=\"left\">\n<tr>\n<td><\/td>\n<\/tr>\n<\/table>\n<p><small>(2%)<\/small><\/td>\n<\/tr>\n<\/table>\n<p>Have I been taking long lunches? Quitting early?  Why are half of my lunch posts at 11am and the other half at noon?  I could understand if they were all shifted forwards or backwards in time, depending on what time zone the server is in but&#8230;<\/p>\n<p><em>&lt;forehead slap&gt;<\/em><\/p>\n<p>Daylight savings time.  <strong>Obviously<\/strong> the server is not taking part in the great American temporal hallucination that is DST.  <\/p>\n<p>I work from home, and my wife homeschools our children, so DST doesn&#8217;t really affect our lives except to annoy me twice a year.  <\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;m fiddling around with my WordPress plugin and I added a feature to show posts sorted by what hour of the day they were posted, just because I wanted to see what that would look like. Of course, I already had an idea of what it would look like before I wrote it, and I [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[],"class_list":["post-545","post","type-post","status-publish","format-standard","hentry","category-projects"],"_links":{"self":[{"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=\/wp\/v2\/posts\/545","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=545"}],"version-history":[{"count":0,"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=\/wp\/v2\/posts\/545\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=545"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=545"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=545"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}