diff --git a/lib/time.js b/lib/time.js index c5bdaed8..5cccc7a0 100644 --- a/lib/time.js +++ b/lib/time.js @@ -152,12 +152,11 @@ function CronTime(luxon) { } if (typeof this.utcOffset !== 'undefined') { - let offsetHours = + const offsetHours = parseInt( this.utcOffset >= 60 || this.utcOffset <= -60 ? this.utcOffset / 60 - : this.utcOffset; - - offsetHours = parseInt(offsetHours); + : this.utcOffset + ); const offsetMins = this.utcOffset >= 60 || this.utcOffset <= -60