Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
melvitax committed Mar 8, 2017
2 parents edb0c6e + a9bf962 commit 1041e4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/DateHelper.swift
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ public extension Date {
case .startOfDay:
return adjust(hour: 0, minute: 0, second: 0)
case .endOfDay:
return adjust(hour: 23, minute: 59, second: 29)
return adjust(hour: 23, minute: 59, second: 59)
case .startOfWeek:
let offset = component(.weekday)!-1
return adjust(.day, offset: -(offset))
Expand Down

0 comments on commit 1041e4a

Please sign in to comment.