{"id":1208,"date":"2020-02-10T06:36:08","date_gmt":"2020-02-10T06:36:08","guid":{"rendered":"https:\/\/sdf-docs.mansystems.com\/docs\/acr-rules\/reliability\/ampmindicator\/"},"modified":"2020-03-20T08:44:58","modified_gmt":"2020-03-20T08:44:58","slug":"ampmindicator","status":"publish","type":"docs","link":"https:\/\/sdf-docs.clevr.com\/?docs=acr-rules\/reliability\/ampmindicator","title":{"rendered":"AM\/PM indicator should only be used in combination with lowercase &#8220;h&#8221;"},"content":{"rendered":"\n<p>Released in version 1.5 (14 February 2020)<\/p>\n\n\n\n<p>&#8216;This is very likely a bug and should be changed. <br> Lowercase &#8220;a&#8221; is used to denote AM or PM. This only makes sense in combination with lowercase &#8220;h&#8221; which is in the range 1-12. Using &#8220;a&#8221; in combination with the uppercase &#8220;H&#8221; makes little sense.&#8217;<\/p>\n\n\n\n<p><strong>Non-compliant example:<\/strong><\/p>\n\n\n\n<p><code>formatDateTime($DateTime, 'H:mm a')<\/code><\/p>\n\n\n\n<p><strong>Compliant example:<\/strong><\/p>\n\n\n\n<p><code>formatDateTime($DateTime, 'h:mm a') <\/code> or<br><code>formatDateTime($DateTime, 'HH:mm') <\/code><\/p>\n\n\n\n<p><\/p>\n","protected":false},"featured_media":0,"parent":97,"menu_order":39,"comment_status":"open","ping_status":"closed","template":"","doc_tag":[],"class_list":["post-1208","docs","type-docs","status-publish","hentry"],"comment_count":0,"_links":{"self":[{"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/docs\/1208"}],"collection":[{"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/types\/docs"}],"replies":[{"embeddable":true,"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1208"}],"version-history":[{"count":1,"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/docs\/1208\/revisions"}],"predecessor-version":[{"id":1209,"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/docs\/1208\/revisions\/1209"}],"up":[{"embeddable":true,"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/docs\/97"}],"next":[{"title":"Prevent duplicate classes in jars","link":"https:\/\/sdf-docs.clevr.com\/?docs=acr-rules\/reliability\/reliabilityjarduplicateclasses","href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/docs\/2149"}],"prev":[{"title":"Returned variables should be used","link":"https:\/\/sdf-docs.clevr.com\/?docs=acr-rules\/reliability\/unusedreturnvalue","href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/docs\/702"}],"wp:attachment":[{"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1208"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=%2Fwp%2Fv2%2Fdoc_tag&post=1208"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}