Compare commits
1 Commits
3098d12e8a
...
1.0.5
Author | SHA1 | Date | |
---|---|---|---|
23cc189e53 |
@@ -55,7 +55,7 @@ Future<BaseExpenseInfo?> extractInfoFromBill({
|
|||||||
for (final match in dateRegexp.allMatches(extractionResult.text)) {
|
for (final match in dateRegexp.allMatches(extractionResult.text)) {
|
||||||
if (match.groupCount < 6) continue;
|
if (match.groupCount < 6) continue;
|
||||||
|
|
||||||
int year = int.tryParse(match.group(6)!) ?? currDate.year;
|
int year = int.tryParse(match.group(5)!) ?? currDate.year;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
final date = DateTime(
|
final date = DateTime(
|
||||||
|
Reference in New Issue
Block a user