UNCalendarNotificationTrigger Hourly Trigger returns wrong trigger date
<p>I'm using the following to get a local notification triggered every hour.</p>

<pre><code>let reminderTrigger = UNCalendarNotificationTrigger.init(dateMatching: NSCalendar.current.dateComponents([.minute], from: dateStart), repeats: true)
let notificationRequest = UNNotificationRequest(identifier: "reminder", content: reminderContent, trigger: reminderTrigger)
</code></pre>

<p>This is based on Apple's documentation here - <a href="https://developer.apple.com/reference/usernotifications/uncalendarnotificationtrigger" rel="nofollow">https://developer.apple.com/reference/usernotifications/uncalendarnotificationtrigger</a></p>

<p>However, when I print the next trigger date, it is completely wrong.</p>

<pre><code>print(dateStart)
print(reminderTrigger.nextTriggerDate())
</code></pre>

<p>This is the output - </p>

<pre><code>2016-09-10 05:18:58 +0000
Optional(2016-09-11 04:00:06 +0000)
</code></pre>

<p>However, it should be </p>

<pre><code>2016-09-10 06:00:00 +0000
</code></pre>

<p>I've tried the Daily, Weekly, Monthly, Yearly in a similar way and all of them return correct next trigger dates. The hourly is the only one that seems incorrect. Any ideas?</p>