<table><tr><td style="">ahmadsamir added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D12733">View Revision</a></tr></table><br /><div><div><blockquote style="border-left: 3px solid #8C98B8;
          color: #6B748C;
          font-style: italic;
          margin: 4px 0 12px 0;
          padding: 8px 12px;
          background-color: #F8F9FC;">
<div style="font-style: normal;
          padding-bottom: 4px;">In <a href="https://phabricator.kde.org/D12733#259436" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;">D12733#259436</a>, <a href="https://phabricator.kde.org/p/hindenburg/" style="
              border-color: #f1f7ff;
              color: #19558d;
              background-color: #f1f7ff;
                border: 1px solid transparent;
                border-radius: 3px;
                font-weight: bold;
                padding: 0 4px;">@hindenburg</a> wrote:</div>
<div style="margin: 0;
          padding: 0;
          border: 0;
          color: rgb(107, 116, 140);"><div class="remarkup-code-block" style="margin: 12px 0;" data-code-lang="text" data-sigil="remarkup-code-block"><pre class="remarkup-code" style="font: 11px/15px "Menlo", "Consolas", "Monaco", monospace; padding: 12px; margin: 0; background: rgba(71, 87, 120, 0.08);">I was wondering if .remove(".").append("0").left(6) would be easier.</pre></div></div>
</blockquote>

<p>I see, (sorry I didn't make the connection earlier).</p>

<p>I tested that with a couple of cases, and it wouldn't work, for example:<br />
18.08.1  -> 1808100  -> 180810<br />
18.08.10 -> 18081000 -> 180810</p>

<p>18.08.2  -> 1808200  -> 180820<br />
18.08.20 -> 18082000 -> 180820</p>

<p>and if KF5 ever breaks the double-number release versions, e.g. 100.08.2, :), then that bit of code would fail. I'd rather we make the code just work for all the cases we can think of now.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R319 Konsole</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D12733">https://phabricator.kde.org/D12733</a></div></div><br /><div><strong>To: </strong>ahmadsamir, Konsole, hindenburg<br /><strong>Cc: </strong>herrold, ngraham, hindenburg<br /></div>