Skip to content

Commit

Permalink
Update handleReminder.js (#4596)
Browse files Browse the repository at this point in the history
  • Loading branch information
mcm1957 authored Feb 26, 2025
1 parent 7bb0ad5 commit b25189c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/handleReminder.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ async function handleBrandNew( pIssues ){
const result = /created (\d+)\.(\d+)\.(\d+)/g.exec(comment.body);
if (result) {
let targetTs=new Date(result[3], result[2]-1, result[1], 0, 0, 0).getTime();
targetTs += (11 * 86400 * 1000);
targetTs += (14 * 86400 * 1000);
const dateStr = new Date(targetTs).toLocaleDateString('de-DE', {year: 'numeric', month: 'numeric', day: 'numeric',});
const nowTs = new Date().getTime();
const label = `${dateStr}`;
Expand Down

0 comments on commit b25189c

Please sign in to comment.