mirror of
https://github.com/zxing/zxing.git
synced 2025-03-05 20:48:51 -08:00
Issue 309, don't fail if birthday is bad
git-svn-id: https://zxing.googlecode.com/svn/trunk@1172 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
parent
d71f40fef6
commit
bfaa68426b
|
@ -57,7 +57,7 @@ final class VCardResultParser extends ResultParser {
|
|||
String org = matchSingleVCardPrefixedField("ORG", rawText, true);
|
||||
String birthday = matchSingleVCardPrefixedField("BDAY", rawText, true);
|
||||
if (!isLikeVCardDate(birthday)) {
|
||||
return null;
|
||||
birthday = null;
|
||||
}
|
||||
String title = matchSingleVCardPrefixedField("TITLE", rawText, true);
|
||||
String url = matchSingleVCardPrefixedField("URL", rawText, true);
|
||||
|
|
Loading…
Reference in a new issue