https://bugs.documentfoundation.org/show_bug.cgi?id=161469

--- Comment #1 from Werner Tietz <[email protected]> ---
this python-snippet works as expected:

```
from datetime import datetime as dt

def timestamp(*event):
    doc = XSCRIPTCONTEXT.getDocument()
    sel = doc.CurrentSelection
    sel.Formula = f'{dt.now().isoformat()}'
```

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to