{"id":1179,"date":"2020-02-06T12:18:12","date_gmt":"2020-02-06T12:18:12","guid":{"rendered":"https:\/\/sdf-docs.mansystems.com\/docs\/acr-rules\/reliability\/secondvsmillisecond\/"},"modified":"2020-03-20T08:44:58","modified_gmt":"2020-03-20T08:44:58","slug":"secondvsmillisecond","status":"publish","type":"docs","link":"https:\/\/sdf-docs.clevr.com\/?docs=acr-rules\/reliability\/secondvsmillisecond","title":{"rendered":"Seconds token should be specified correctly in parse\/format date-time functions"},"content":{"rendered":"\n<p>Released in version 1.5 (14 February 2020)<\/p>\n\n\n\n<p>This is likely a bug and should be changed. <br> Lowercase &#8220;s&#8221; is for seconds but uppercase &#8220;S&#8221; is for milliseconds which is used much less often.<\/p>\n\n\n\n<p><strong>Noncompliant example:<\/strong><\/p>\n\n\n\n<p> <code>parseDateTime('13:37:01', 'HH:mm:SS')<\/code><\/p>\n\n\n\n<p><strong>Compliant example:<\/strong><\/p>\n\n\n\n<p> <code>parseDateTime('13:37:01', 'HH:mm:ss')<\/code><\/p>\n","protected":false},"featured_media":0,"parent":97,"menu_order":22,"comment_status":"open","ping_status":"closed","template":"","doc_tag":[],"class_list":["post-1179","docs","type-docs","status-publish","hentry"],"comment_count":0,"_links":{"self":[{"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/docs\/1179"}],"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=1179"}],"version-history":[{"count":2,"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/docs\/1179\/revisions"}],"predecessor-version":[{"id":1206,"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/docs\/1179\/revisions\/1206"}],"up":[{"embeddable":true,"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/docs\/97"}],"next":[{"title":"Short-circuit logic should be used correctly to prevent null pointer dereferences in conditionals","link":"https:\/\/sdf-docs.clevr.com\/?docs=acr-rules\/reliability\/shortcircuit","href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/docs\/785"}],"prev":[{"title":"REST\/Web services should have a timeout","link":"https:\/\/sdf-docs.clevr.com\/?docs=acr-rules\/reliability\/webservicenotimeout","href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/docs\/261"}],"wp:attachment":[{"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1179"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=%2Fwp%2Fv2%2Fdoc_tag&post=1179"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}