Skip to content

Commit

Permalink
Fixed 'inaccessible due to internal protection level' error.
Browse files Browse the repository at this point in the history
  • Loading branch information
melvitax committed Jan 11, 2022
1 parent 5a26a41 commit 76d0840
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# DateHelper 5.0
# DateHelper 5.0.1

[![License](https://img.shields.io/badge/License-MIT-lightgrey)](https://github.com/melvitax/DateHelper/blob/master/LICENSE)
[![Platform](https://img.shields.io/badge/Platform-iOS%20%7C%20watchOS%20%7C%20tvOS%20%7C%20macOS-lightgrey)](https://github.com/melvitax/DateHelper)
Expand Down
6 changes: 3 additions & 3 deletions Sources/DateHelper/DateHelper.swift
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
//
// DateHelper.swift
// Version: 5.0
// Version: 5.0.1
// https://github.com/melvitax/DateHelper
//

import Foundation

// swiftlint:disable file_length
extension Date {
public extension Date {

// MARK: - Date from String

Expand Down Expand Up @@ -905,7 +905,7 @@ extension Date {

extension Date.DateFormatType: Equatable {
// swiftlint:disable:next operator_whitespace
static func ==(lhs: Date.DateFormatType, rhs: Date.DateFormatType) -> Bool {
public static func ==(lhs: Date.DateFormatType, rhs: Date.DateFormatType) -> Bool {
switch (lhs, rhs) {
case (.custom(let lhsString), .custom(let rhsString)):
return lhsString == rhsString
Expand Down

0 comments on commit 76d0840

Please sign in to comment.