Description: I have defined a custom BASIC function: Function test_format() test_format = Now() End Function When I now use this function to set the value of a field like so =test_format() I cannot change that field's format to anything but the default format. Steps to Reproduce: 1. Create macro function mentioned above 2. Use in field. 3. Try to change format of field. Actual Results: Field format is not changed. Expected Results: Field format should change. Reproducible: Always User Profile Reset: No Additional Info: User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0
Created attachment 136787 [details] Simple test case with the macro described in the bug report.
Tested with Version: 6.0.0.0.alpha0+ Build ID: 616f21db9e50a77b0c02dfb123f871a742f46216 CPU threads: 4; OS: Linux 4.4; UI render: default; VCL: gtk3; I can change format to "YY-MM-DD" and it works. Please, could you test with newer version? Setting bug as needinfo, set as unconfirmed again if problem still occurs in newer version. Thank you. http://dev-builds.libreoffice.org/daily/master/
(In reply to raal from comment #2) > Tested with Version: 6.0.0.0.alpha0+ > I can change format to "YY-MM-DD" and it works. I installed the daily build and it works for me as well on a Debian 9 system. (Tested again and did not work on a 5.* LibreOffice installation.)
Correct status