[Bug 161469] NOW() Function in Calc Macro Omits Sub-Seconds

2024-06-12 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=161469 Andreas Heinisch changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug 161469] NOW() Function in Calc Macro Omits Sub-Seconds

2024-06-12 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=161469 --- Comment #7 from Andreas Heinisch --- Code base with a many many different developers grown over time under different management -- You are receiving this mail because: You are the assignee for the bug.

[Bug 161469] NOW() Function in Calc Macro Omits Sub-Seconds

2024-06-12 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=161469 --- Comment #6 from Werner Tietz --- disclaimer: I'm NOT a c++ programmer @ https://opengrok.libreoffice.org/xref/core/basic/source/runtime/methods.cxx#2117 ? should it work with: ``` 2117 double Now_Impl() 2118 { 2119 DateTime

[Bug 161469] NOW() Function in Calc Macro Omits Sub-Seconds

2024-06-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=161469 Andreas Heinisch changed: What|Removed |Added Ever confirmed|0 |1

[Bug 161469] NOW() Function in Calc Macro Omits Sub-Seconds

2024-06-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=161469 --- Comment #4 from Daniel Baran --- Having researched this further, I found that this rounding to seconds is a known behavior of the NOW() function in Basic.

[Bug 161469] NOW() Function in Calc Macro Omits Sub-Seconds

2024-06-09 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=161469 --- Comment #3 from Werner Tietz --- Hello Daniel my suggestion is not a WORKAROUND, because python, like basic, is a programming language available in Libreoffice. There exists nowadays NO Libreoffice-package WITHOUT python**!

[Bug 161469] NOW() Function in Calc Macro Omits Sub-Seconds

2024-06-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=161469 Daniel Baran changed: What|Removed |Added CC||d.j.ba...@frontier.com ---

[Bug 161469] NOW() Function in Calc Macro Omits Sub-Seconds

2024-06-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=161469 --- Comment #1 from Werner Tietz --- this python-snippet works as expected: ``` from datetime import datetime as dt def timestamp(*event): doc = XSCRIPTCONTEXT.getDocument() sel = doc.CurrentSelection sel.Formula =