Skip to content

Commit ea63b65

Browse files
authored
Merge branch 'master' into custom_domain
2 parents 83b534c + 1a52ff7 commit ea63b65

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

awards.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,3 +189,4 @@ Scroogey-SN,pr,#1948,#1849,medium,urgent,,,750k,Scroogey@coinos.io,2025-03-10
189189
felipebueno,issue,#1947,#1945,good-first-issue,,,,2k,felipebueno@blink.sv,2025-03-10
190190
ed-kung,pr,#1952,#1951,easy,,,,100k,simplestacker@getalby.com,2025-03-10
191191
ed-kung,issue,#1952,#1951,easy,,,,10k,simplestacker@getalby.com,2025-03-10
192+
Scroogey-SN,pr,#1973,#1959,good-first-issue,,,,20k,Scroogey@coinos.io,???

lib/time.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ export function timeSince (timeStamp) {
2323
}
2424

2525
export function datePivot (date,
26-
{ years = 0, months = 0, days = 0, hours = 0, minutes = 0, seconds = 0, milliseconds = 0 }) {
26+
{ years = 0, months = 0, weeks = 0, days = 0, hours = 0, minutes = 0, seconds = 0, milliseconds = 0 }) {
2727
return new Date(
2828
date.getFullYear() + years,
2929
date.getMonth() + months,
30-
date.getDate() + days,
30+
date.getDate() + days + weeks * 7,
3131
date.getHours() + hours,
3232
date.getMinutes() + minutes,
3333
date.getSeconds() + seconds,

wallets/lnbits/server.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export async function createInvoice (
3333
out: false
3434
})
3535

36-
let hostname = url.replace(/^https?:\/\//, '')
36+
let hostname = url.replace(/^https?:\/\//, '').replace(/\/+$/, '')
3737
const agent = getAgent({ hostname })
3838

3939
if (process.env.NODE_ENV !== 'production' && hostname.startsWith('localhost:')) {

0 commit comments

Comments
 (0)