feat: Change QR payment message separator from "/" to ":"
Format is now "Name: MM/YYYY+MM/YYYY" instead of "Name / MM/YYYY+MM/YYYY" for clearer readability when multiple months are included. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -867,7 +867,7 @@
|
|||||||
const numericMonth = rawMonth.includes('+')
|
const numericMonth = rawMonth.includes('+')
|
||||||
? rawMonth.split('+').map(p => p.replace(/(\d{4})-(\d{2})/, '$2/$1')).join('+')
|
? rawMonth.split('+').map(p => p.replace(/(\d{4})-(\d{2})/, '$2/$1')).join('+')
|
||||||
: rawMonth.replace(/(\d{4})-(\d{2})/, '$2/$1');
|
: rawMonth.replace(/(\d{4})-(\d{2})/, '$2/$1');
|
||||||
const message = `${name} / ${numericMonth}`;
|
const message = `${name}: ${numericMonth}`;
|
||||||
const qrTitle = document.getElementById('qrTitle');
|
const qrTitle = document.getElementById('qrTitle');
|
||||||
const qrImg = document.getElementById('qrImg');
|
const qrImg = document.getElementById('qrImg');
|
||||||
const qrAccount = document.getElementById('qrAccount');
|
const qrAccount = document.getElementById('qrAccount');
|
||||||
|
|||||||
@@ -848,7 +848,7 @@
|
|||||||
const numericMonth = rawMonth.includes('+')
|
const numericMonth = rawMonth.includes('+')
|
||||||
? rawMonth.split('+').map(p => p.replace(/(\d{4})-(\d{2})/, '$2/$1')).join('+')
|
? rawMonth.split('+').map(p => p.replace(/(\d{4})-(\d{2})/, '$2/$1')).join('+')
|
||||||
: rawMonth.replace(/(\d{4})-(\d{2})/, '$2/$1');
|
: rawMonth.replace(/(\d{4})-(\d{2})/, '$2/$1');
|
||||||
const message = `${name} / ${numericMonth}`;
|
const message = `${name}: ${numericMonth}`;
|
||||||
const qrTitle = document.getElementById('qrTitle');
|
const qrTitle = document.getElementById('qrTitle');
|
||||||
const qrImg = document.getElementById('qrImg');
|
const qrImg = document.getElementById('qrImg');
|
||||||
const qrAccount = document.getElementById('qrAccount');
|
const qrAccount = document.getElementById('qrAccount');
|
||||||
|
|||||||
@@ -851,7 +851,7 @@
|
|||||||
const numericMonth = rawMonth.includes('+')
|
const numericMonth = rawMonth.includes('+')
|
||||||
? rawMonth.split('+').map(p => p.replace(/(\d{4})-(\d{2})/, '$2/$1')).join('+')
|
? rawMonth.split('+').map(p => p.replace(/(\d{4})-(\d{2})/, '$2/$1')).join('+')
|
||||||
: rawMonth.replace(/(\d{4})-(\d{2})/, '$2/$1');
|
: rawMonth.replace(/(\d{4})-(\d{2})/, '$2/$1');
|
||||||
const message = `${name} / ${numericMonth}`;
|
const message = `${name}: ${numericMonth}`;
|
||||||
const qrTitle = document.getElementById('qrTitle');
|
const qrTitle = document.getElementById('qrTitle');
|
||||||
const qrImg = document.getElementById('qrImg');
|
const qrImg = document.getElementById('qrImg');
|
||||||
const qrAccount = document.getElementById('qrAccount');
|
const qrAccount = document.getElementById('qrAccount');
|
||||||
|
|||||||
@@ -851,7 +851,7 @@
|
|||||||
const numericMonth = rawMonth.includes('+')
|
const numericMonth = rawMonth.includes('+')
|
||||||
? rawMonth.split('+').map(p => p.replace(/(\d{4})-(\d{2})/, '$2/$1')).join('+')
|
? rawMonth.split('+').map(p => p.replace(/(\d{4})-(\d{2})/, '$2/$1')).join('+')
|
||||||
: rawMonth.replace(/(\d{4})-(\d{2})/, '$2/$1');
|
: rawMonth.replace(/(\d{4})-(\d{2})/, '$2/$1');
|
||||||
const message = `${name} / ${numericMonth}`;
|
const message = `${name}: ${numericMonth}`;
|
||||||
const qrTitle = document.getElementById('qrTitle');
|
const qrTitle = document.getElementById('qrTitle');
|
||||||
const qrImg = document.getElementById('qrImg');
|
const qrImg = document.getElementById('qrImg');
|
||||||
const qrAccount = document.getElementById('qrAccount');
|
const qrAccount = document.getElementById('qrAccount');
|
||||||
|
|||||||
Reference in New Issue
Block a user