Skip to content

Commit

Permalink
Revert timestamp UTC change
Browse files Browse the repository at this point in the history
  • Loading branch information
Rentacookie committed Oct 21, 2024
1 parent f631e37 commit bc49fbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/datetime_decode.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ exports.getTimeStamp = function (
fraction // optional fraction of second object
) {
const milliseconds = fraction ? fraction.milliseconds : 0;
const dateObject = new Date(Date.UTC(secondsFromEpoch * 1000 + milliseconds));
const dateObject = new Date(secondsFromEpoch * 1000 + milliseconds);
if (!useDateStringsForType(dateStrings, 'TIMESTAMP')) {
return dateObject;
}
Expand Down

0 comments on commit bc49fbf

Please sign in to comment.