{"id":1317,"date":"2019-01-05T18:46:19","date_gmt":"2019-01-05T18:46:19","guid":{"rendered":"http:\/\/olmonitorblog.azurewebsites.net\/?p=1317"},"modified":"2019-01-05T18:46:19","modified_gmt":"2019-01-05T18:46:19","slug":"new-years-proctime-fix","status":"publish","type":"post","link":"https:\/\/olmonitorblog.azurewebsites.net\/?p=1317","title":{"rendered":"New Years ProcTime fix"},"content":{"rendered":"\n<p>Every January 1st after midnight, OL Monitor incorrectly calculates the ProcTime on previous year&#8217;s tests due to the fact that the Collect Times and Receive Times appear in the logfiles as month\/day only, not specifying year. Year is pulled from log date but on New Years Day (and beyond if tests hang unresulted) this produces a nonsensical negative number. This was pointed out by a member of the Facebook group: &#8220;Medical Laboratory Scientists &#8211; MLS\/MLT(ASCP), AMT, AAB&#8221;. (I highly recommend this group for any MLS&#8217;s\/MLT&#8217;s\/Lab personnel as it is very informative and entertaining.) As promised, the bug has now been fixed in version 1.90q.<\/p>\n\n\n\n<p>Before:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" width=\"728\" height=\"138\" src=\"\/wp-content\/uploads\/2019\/01\/ScreenShot323.jpg\" alt=\"\" class=\"wp-image-1318\" srcset=\"\/wp-content\/uploads\/2019\/01\/ScreenShot323.jpg 728w, \/wp-content\/uploads\/2019\/01\/ScreenShot323-300x57.jpg 300w, \/wp-content\/uploads\/2019\/01\/ScreenShot323-700x133.jpg 700w\" sizes=\"(max-width: 728px) 100vw, 728px\" \/><\/figure>\n\n\n\n<p>After:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" width=\"694\" height=\"141\" src=\"\/wp-content\/uploads\/2019\/01\/ScreenShot324.jpg\" alt=\"\" class=\"wp-image-1319\" srcset=\"\/wp-content\/uploads\/2019\/01\/ScreenShot324.jpg 694w, \/wp-content\/uploads\/2019\/01\/ScreenShot324-300x61.jpg 300w\" sizes=\"(max-width: 694px) 100vw, 694px\" \/><\/figure>\n\n\n\n<p>This issue hasn&#8217;t gotten much attention in the past since labs with OL Monitor typically get tests turned out lightning fast, but finally one tech was fast enough to catch it.<br>Many thanks to the group member for pointing out this long-ignored bug!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Every January 1st after midnight, OL Monitor incorrectly calculates the ProcTime on previous year&#8217;s tests due to the fact that the Collect Times and Receive Times appear in the logfiles as month\/day only, not specifying year. Year is pulled from log date but on New Years Day (and beyond if tests hang unresulted) this produces<\/p>\n<p><a class=\"moretag\" href=\"https:\/\/olmonitorblog.azurewebsites.net\/?p=1317\">Continue Reading&hellip;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/olmonitorblog.azurewebsites.net\/index.php?rest_route=\/wp\/v2\/posts\/1317"}],"collection":[{"href":"https:\/\/olmonitorblog.azurewebsites.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/olmonitorblog.azurewebsites.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/olmonitorblog.azurewebsites.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/olmonitorblog.azurewebsites.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1317"}],"version-history":[{"count":3,"href":"https:\/\/olmonitorblog.azurewebsites.net\/index.php?rest_route=\/wp\/v2\/posts\/1317\/revisions"}],"predecessor-version":[{"id":1322,"href":"https:\/\/olmonitorblog.azurewebsites.net\/index.php?rest_route=\/wp\/v2\/posts\/1317\/revisions\/1322"}],"wp:attachment":[{"href":"https:\/\/olmonitorblog.azurewebsites.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1317"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/olmonitorblog.azurewebsites.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1317"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/olmonitorblog.azurewebsites.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1317"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}