Skip to content

Commit

Permalink
fix: seatalk 0x54 month off by one
Browse files Browse the repository at this point in the history
  • Loading branch information
tkurki committed Feb 14, 2023
1 parent 0a2205e commit 97c9c8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hooks/seatalk/0x54.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ module.exports = function (input, session) {
const d = new Date(
Date.UTC(
session['date'].year,
session['date'].month,
session['date'].month - 1,
session['date'].day,
session['time'].hour,
session['time'].minute,
Expand Down

0 comments on commit 97c9c8c

Please sign in to comment.