<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO - Change of behaviour in function DateSerial."
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=117878#c3">Comment # 3</a>
              on <a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO - Change of behaviour in function DateSerial."
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=117878">bug 117878</a>
              from <span class="vcard"><a class="email" href="mailto:luismiguel.lacosta@gmail.com" title="Luis <luismiguel.lacosta@gmail.com>"> <span class="fn">Luis</span></a>
</span></b>
        <pre>Test document provided.
The document has 5 buttons with attached macros:

Button 1: "Call DateSerial(2018,02,28)" macro that calls function
DateSerial(2018,02,28)

Button 2: "Call DateSerial(2018,02,29)" macro that calls function
DateSerial(2018,02,29)

Button 3: "Call DateSerial(2018,02,30)" macro that calls function
DateSerial(2018,02,30)

Button 4: "Call DateSerial(2018,02,31)" macro that calls function
DateSerial(2018,02,31)

Button 5: "Call DateSerial(2018,02,32)" macro that calls function
DateSerial(2018,02,32)

Results on LO 5.3.0.3 (correct behavior):

Pressing button 1 returns the date of February 28
Pressing button 2 returns the date of March 1
Pressing button 3 returns the date of March 2
Pressing button 4 returns the date of March 3
Pressing button 5 halts macro with the error message: "Action not supported.
Invalid procedure call."

Results on LO 5.4.0.3 and 6.4.0.2 (incorrect behavior):

Pressing button 1 returns the date of February 28
Pressing button 2, 3, 4 or 5 halts macro with error message "Action not
supported. Invalid procedure call."</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>