{"id":614,"date":"2019-01-12T10:22:00","date_gmt":"2019-01-12T09:22:00","guid":{"rendered":"https:\/\/tollana.d-tor.org\/notes-to-self\/?p=614"},"modified":"2019-01-12T10:22:00","modified_gmt":"2019-01-12T09:22:00","slug":"formatting-cells-in-libreoffice","status":"publish","type":"post","link":"https:\/\/tollana.d-tor.org\/notes-to-self\/?p=614","title":{"rendered":"Formatting cells in LibreOffice"},"content":{"rendered":"\n<p>As I just learned, data is not always converted automatically to the new format, e.g. when it&#8217;s a number and you want it to be a date. In that case you have to replace the content with itself <strong>after<\/strong> setting the new format.<\/p>\n\n\n\n<p>This can be done with &#8220;Find and Replace&#8230;&#8221;: Search for .* and replace it with &amp; (Ampersand, the whole regex match). Make sure that you have &#8220;Regular Expression&#8221; checked!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>As I just learned, data is not always converted automatically to the new format, e.g. when it&#8217;s a number and you want it to be a date. In that case you have to replace the content with itself after setting the new format. This can be done with &#8220;Find and Replace&#8230;&#8221;: Search for .* and &hellip; <a href=\"https:\/\/tollana.d-tor.org\/notes-to-self\/?p=614\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Formatting cells in LibreOffice<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13],"tags":[143,142],"class_list":["post-614","post","type-post","status-publish","format-standard","hentry","category-desktop","tag-calc","tag-libreoffice"],"_links":{"self":[{"href":"https:\/\/tollana.d-tor.org\/notes-to-self\/index.php?rest_route=\/wp\/v2\/posts\/614","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tollana.d-tor.org\/notes-to-self\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tollana.d-tor.org\/notes-to-self\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tollana.d-tor.org\/notes-to-self\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tollana.d-tor.org\/notes-to-self\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=614"}],"version-history":[{"count":1,"href":"https:\/\/tollana.d-tor.org\/notes-to-self\/index.php?rest_route=\/wp\/v2\/posts\/614\/revisions"}],"predecessor-version":[{"id":615,"href":"https:\/\/tollana.d-tor.org\/notes-to-self\/index.php?rest_route=\/wp\/v2\/posts\/614\/revisions\/615"}],"wp:attachment":[{"href":"https:\/\/tollana.d-tor.org\/notes-to-self\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=614"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tollana.d-tor.org\/notes-to-self\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=614"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tollana.d-tor.org\/notes-to-self\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=614"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}