Skip to content

Commit b48a500

Browse files
author
Uriel Battanoli
committed
- Fixing cpfCnpj format
1 parent 0c62bb6 commit b48a500

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

GeneralFormatter.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
Pod::Spec.new do |s|
1010
s.name = 'GeneralFormatter'
11-
s.version = '1.1.0'
11+
s.version = '1.1.1'
1212
s.summary = 'A general formatter.'
1313

1414
# This description is used to generate tags and improve search results.

GeneralFormatter/Classes/GeneralFormatter.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ public class GeneralFormatter {
101101
let formattedString = NSMutableString(string: bruteText)
102102
let textCount = bruteText.characters.count
103103

104-
if textCount < 11 {
104+
if textCount < 12 {
105105
if textCount > 2 {
106106
formattedString.insert(".", at: 3)
107107
}

0 commit comments

Comments
 (0)