diff --git a/lib/time.js b/lib/time.js index cf2ad4b3..db58d6fc 100644 --- a/lib/time.js +++ b/lib/time.js @@ -156,13 +156,18 @@ function CronTime(luxon) { this.utcOffset >= 60 || this.utcOffset <= -60 ? this.utcOffset / 60 : this.utcOffset; + + // remainder of division by 60 + let remainder = offset - Math.floor(offset); + const remainderMins = remainder * 60; + offset = parseInt(offset); let utcZone = 'UTC'; if (offset < 0) { utcZone += offset; - } else if (offset > 0) { - utcZone += `+${offset}`; + } else if (offset > 0 || remainderMins > 0) { + utcZone += `+${offset}:${remainderMins}`; } date = date.setZone(utcZone);