<div dir="ltr"><div class="gmail_default" style="font-family:trebuchet ms,sans-serif;font-size:small;color:#0b5394">Hello,</div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif;font-size:small;color:#0b5394">Many thanks for the good work you are doing. i use kmymoney and it has really helped me. i noticed since the last stable Kmymoney version the date input widget cannot accept alpha characters.. like october, december, january, tuesday monday etc</div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif;font-size:small;color:#0b5394">i have been directed as seen in the email chain below if you could consider this as you refine the date input widget that is being used in the master (development) versions of kmymoney.</div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif;font-size:small;color:#0b5394"><br></div><div class="gmail_quote"><div dir="ltr"><span style="font-size:large;font-weight:bold">Forwarded Conversation</span><br><span style="font-weight:bold">Subject: [KDE Discuss] [Help] Kmymoney v 5.1 the date you have entered is invalid</span><br>------------------------<br></div><br><div dir="ltr" class="gmail_attr" style="color:#888">From: <strong class="gmail_sendername" dir="auto">Jack Ostroff via KDE Discuss</strong> <span dir="auto"><<a href="mailto:noreply@discuss.kde.org">noreply@discuss.kde.org</a>></span><br>Date: Mon, Sep 30, 2024 at 7:39 PM<br>To:  <<a href="mailto:fredakama@gmail.com">fredakama@gmail.com</a>><br></div><br><br><u></u>
    
    
    
    
    
    
    
    
  

  <div style="line-height:1.4;text-align:left" dir="ltr">
    

    
    
    <div>

  <div></div>

    <div style="margin-bottom:25px">
  <table cellspacing="0" cellpadding="0" border="0">
    <tbody><tr>
      <td style="vertical-align:top;width:55px">
        <img src="https://discuss-cdn.kde.org/user_avatar/discuss.kde.org/ostroffjh/45/70_2.png" title="ostroffjh" width="45" height="45">
      </td>
      <td>
          <a href="https://discuss.kde.org/u/ostroffjh" style="color:#006699;font-size:13px;font-family:'lucida grande',tahoma,verdana,arial,sans-serif;text-decoration:none;font-weight:bold;text-decoration:none;font-weight:bold;color:#006699" target="_blank">ostroffjh</a>
          <span style="font-size:13px;font-family:'lucida grande',tahoma,verdana,arial,sans-serif;text-decoration:none;margin-left:5px;color:#999">KDE Developer</span>
        <br>
        <span style="text-align:right;color:#999999;padding-right:5px;font-family:'lucida grande',tahoma,verdana,arial,sans-serif;font-size:11px">September 30</span>
      </td>
    </tr>
  </tbody></table>
  <div style="padding-top:5px"><p style="margin-top:0;border:0">Please clarify some inconsistencies.  Are you using 5.1 or master.  You say 5.1 but the file you mention is master, although mentioning the red box around the date confirms master.</p>
<p style="margin-top:0;border:0">You say “date format is dd-mmm-yyyy (e.g. 29 sep 24)” but that example is “dd mmm yy” (not yyyy.)  The red border around the date box is because either the required date is missing or something entered is not a valid date.    In your last sentence you again repeat “date format of dd-mmm-yyyy (e.g. 29 sep 24)” but you again mix 2 and 4 digit years.</p>
<p style="margin-top:0;border:0">I would assume most if not all applications will use the system specified date format.  That should be what KMyMoney is doing.</p>
<p style="margin-top:0;border:0">Finally, please state in more detail exactly what you are doing to get the red box around the date.  I assume you are trying to enter a new transaction, but exact details will help us figure out exactly where the problem is.</p></div>
</div>






  <div style="color:#666"><hr style="background-color:#ddd;height:1px;border:1px;background-color:#ddd;height:1px;border:1px">
<p><a href="https://discuss.kde.org/t/kmymoney-v-5-1-the-date-you-have-entered-is-invalid/22710/2" style="font-weight:normal;text-decoration:none;font-weight:bold;color:#006699;background-color:#2f70ac;color:#ffffff;border-top:4px solid #2f70ac;border-right:6px solid #2f70ac;border-bottom:4px solid #2f70ac;border-left:6px solid #2f70ac;display:inline-block;font-weight:bold" target="_blank">Visit Topic</a> or reply to this email to respond.</p></div>
  <div style="color:#666"><p>To unsubscribe from these emails, <a href="https://discuss.kde.org/email/unsubscribe/3a3b46e67f502d6ce6d65c52977275f05bf96aa76b61fb706d51112fef6116a2" style="text-decoration:none;font-weight:bold;color:#006699;color:#666" target="_blank">click here</a>.</p></div>

</div>

<div style="display:none">
  <div>
    
    
  </div>
</div>



    
    <div style="display:none;white-space:nowrap;font:15px courier;line-height:0">
                         
                         
                         
    </div>
    
    
    
  

</div><br><br><div dir="ltr" class="gmail_attr" style="color:#888">----------<br>From: <strong class="gmail_sendername" dir="auto">Jack Ostroff via KDE Discuss</strong> <span dir="auto"><<a href="mailto:noreply@discuss.kde.org">noreply@discuss.kde.org</a>></span><br>Date: Mon, Sep 30, 2024 at 10:06 PM<br>To:  <<a href="mailto:fredakama@gmail.com">fredakama@gmail.com</a>><br></div><br><br><u></u>
    
    
    
    
    
    
    
    
  

  <div style="line-height:1.4;text-align:left" dir="ltr">
    

    
    
    <div>

  <div></div>

    <div style="margin-bottom:25px">
  <table cellspacing="0" cellpadding="0" border="0">
    <tbody><tr>
      <td style="vertical-align:top;width:55px">
        <img src="https://discuss-cdn.kde.org/user_avatar/discuss.kde.org/ostroffjh/45/70_2.png" title="ostroffjh" width="45" height="45">
      </td>
      <td>
          <a href="https://discuss.kde.org/u/ostroffjh" style="color:#006699;font-size:13px;font-family:'lucida grande',tahoma,verdana,arial,sans-serif;text-decoration:none;font-weight:bold;text-decoration:none;font-weight:bold;color:#006699" target="_blank">ostroffjh</a>
          <span style="font-size:13px;font-family:'lucida grande',tahoma,verdana,arial,sans-serif;text-decoration:none;margin-left:5px;color:#999">KDE Developer</span>
        <br>
        <span style="text-align:right;color:#999999;padding-right:5px;font-family:'lucida grande',tahoma,verdana,arial,sans-serif;font-size:11px">September 30</span>
      </td>
    </tr>
  </tbody></table>
  <div style="padding-top:5px"><p style="margin-top:0;border:0">So your problem is not 2 vs 4 digit years, but numeric vs name for the month, correct?  As far as I know, KMyMoney uses the date format as specified by the operating system.  I don’t currently have a Windows installation handy to test, so I’ll ask more questions.</p>
<p style="margin-top:0;border:0">If set to use month name, and you go to the register and edit an existing transaction, what does the date look like?  If you edit an existing transaction with a month name in the date, does the date show an error as soon as you edit the transaction?  If so, then perhaps KMyMoney is not correctly interpreting the date format.  If not, then does it show an error as soon as you try to edit the date?</p>
<p style="margin-top:0;border:0">Another test - if you create a new transaction, click the down arrow at the right of the date field, and pick a date by clicking on the calendar, how is it displayed then, and does it show any error?</p></div>
</div></div>

<div style="display:none">
  <div>
    
    
  </div>
</div>



    
    <div style="display:none;white-space:nowrap;font:15px courier;line-height:0">
                         
                         
                         
    </div>
    
    
    
  

</div><br><br><div dir="ltr" class="gmail_attr" style="color:#888">----------<br>From: <strong class="gmail_sendername" dir="auto">Thomas Baumgart via KDE Discuss</strong> <span dir="auto"><<a href="mailto:noreply@discuss.kde.org">noreply@discuss.kde.org</a>></span><br>Date: Wed, Oct 9, 2024 at 1:56 PM<br>To:  <<a href="mailto:fredakama@gmail.com">fredakama@gmail.com</a>><br></div><br><br><u></u>
    
    
    
    
    
    
    
    
  

  <div style="line-height:1.4;text-align:left" dir="ltr">
    

    
    
    <div>

  <div></div>

    <div style="margin-bottom:25px">
  <table cellspacing="0" cellpadding="0" border="0">
    <tbody><tr>
      <td style="vertical-align:top;width:55px">
        <img src="https://discuss-cdn.kde.org/user_avatar/discuss.kde.org/ipwizard/45/219_2.png" title="ipwizard" width="45" height="45">
      </td>
      <td>
          <a href="https://discuss.kde.org/u/ipwizard" style="color:#006699;font-size:13px;font-family:'lucida grande',tahoma,verdana,arial,sans-serif;text-decoration:none;font-weight:bold;text-decoration:none;font-weight:bold;color:#006699" target="_blank">ipwizard</a>
          <span style="font-size:13px;font-family:'lucida grande',tahoma,verdana,arial,sans-serif;text-decoration:none;margin-left:5px;color:#999">KDE Developer</span>
        <br>
        <span style="text-align:right;color:#999999;padding-right:5px;font-family:'lucida grande',tahoma,verdana,arial,sans-serif;font-size:11px">October 7</span>
      </td>
    </tr>
  </tbody></table>
  <div style="padding-top:5px"><p style="margin-top:0;border:0">First of all: your finding is correct, alpha characters in date input are not supported by the current KMyMoney development version. No need to repeat and stress that: we got it.</p>
<p style="margin-top:0;border:0">Rationale: the date input widget has been replaced between the 5.1 stable branch version (based on <a href="https://doc.qt.io/qt-5/qdatetimeedit.html" style="text-decoration:none;font-weight:bold;color:#006699" target="_blank">QDateTimeEdit</a>) and the master development version (based on <a href="https://api.kde.org/frameworks/kwidgetsaddons/html/classKDateComboBox.html" style="text-decoration:none;font-weight:bold;color:#006699" target="_blank">KDateComboBox</a>) mainly for two reasons:</p>
<ul style="margin:0 0 0 10px;padding:0 0 0 20px">
<li style="padding-bottom:10px">reduce code complexity</li>
<li style="padding-bottom:10px">add new features.</li>
</ul>
<p style="margin-top:0;border:0">It showed, that KDateComboBox provides almost the same functionality we built ourselves in older versions of KMyMoney. Using a well maintained code base (i.e. KDE frameworks) is much better than re-inventing the wheel and having to maintain it on the project level. Unfortunately, some specific functionality got lost during that move which we were not aware of. The other benefit of using standardized components is that if new functionality becomes available we get them basically for free. Means: the best place to ask to support your date format is to ask the developers of the KDateComboBox to support it, because I doubt that the KMyMoney team will revert back to the old implementation.</p></div>
</div></div>

<div style="display:none">
  <div>
    
    
  </div>
</div>



    
    <div style="display:none;white-space:nowrap;font:15px courier;line-height:0">
                         
                         
                         
    </div>
    
    
    
  

</div><br><br></div></div>