Commit ccfa7dbe authored by Jose Blaya's avatar Jose Blaya
Browse files

Make function public to be accessible from the main project

parent 6baee820
......@@ -56,7 +56,7 @@ public struct AccountInfo {
/// Return the Human Readable Date for the expirationDate var.
/// - Parameters:
/// locale: The locale to format the date, by default will use the locale of the device
func humanReadableExpirationDate(usingLocale locale: Locale = Locale.current) -> String {
public func humanReadableExpirationDate(usingLocale locale: Locale = Locale.current) -> String {
let dateFormatter = DateFormatter()
dateFormatter.dateStyle = .long
dateFormatter.timeStyle = .none
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment