{"id":15492927,"date":"2022-03-24T16:51:08","date_gmt":"2022-03-24T16:51:08","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/inline-formatting\/"},"modified":"2022-03-24T16:51:08","modified_gmt":"2022-03-24T16:51:08","slug":"inline-formatting","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/inline-formatting\/","title":{"rendered":"Inline formatting"},"content":{"rendered":"<p>Hi Nabil, <\/p>\n<p>I hope you are well! I am using your timer inline with some text to display how many days someone has left before time runs out.<\/p>\n<p>My message is <strong>Applications are now being accepted and are due in x days.<\/strong>  <\/p>\n<p>I had 2 questions:<\/p>\n<ol>\n<li>Is there a way to remove the &#8220;0&#8221; before digits that are less than 10? So to display 09 as 9?<\/li>\n<li>Is there a way to dynamically change my word &#8220;days&#8221; to &#8220;day&#8221; when the timer reaches 1 day?<\/li>\n<\/ol>\n<p>If you have a solution for these, I would love to know what they are. Thank you so much for all you do. <\/p>\n<p>I hope you have a great day! <\/p>\n","protected":false},"template":"","class_list":["post-15492927","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/15492927","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/15492927\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=15492927"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}