<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - FIELDS: Allow date field with lower case letters"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=128316#c18">Comment # 18</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - FIELDS: Allow date field with lower case letters"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=128316">bug 128316</a>
from <span class="vcard"><a class="email" href="mailto:heiko.tietze@documentfoundation.org" title="Heiko Tietze <heiko.tietze@documentfoundation.org>"> <span class="fn">Heiko Tietze</span></a>
</span></b>
<pre>How about a solution per macro?
Option VBASupport 1
Sub Main
Dim oDoc As Object
Dim oText As Object
oDoc = ThisComponent
oText = oDoc.Text
oVCurs = oDoc.CurrentController.getViewCursor()
oTCurs = oText.createTextCursorByRange(oVCurs.getStart())
sToday = LCase( WeekdayName( WeekDay( Now() )))
oText.insertString( oTCurs, sToday, FALSE )
End Sub</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>