diff --git a/Sources/App/Controllers/StatsController.swift b/Sources/App/Controllers/StatsController.swift index 93b3b91..e8fb424 100644 --- a/Sources/App/Controllers/StatsController.swift +++ b/Sources/App/Controllers/StatsController.swift @@ -136,7 +136,7 @@ struct StatsController: RouteCollection { private func getEndOfMonth(month:Int, year:Int) -> Date { let calendar = Calendar.current var components = DateComponents() - components.day = -1 + components.day = -0 components.timeZone = TimeZone(identifier: "GMT") components.month = month + 1 components.year = year