Fix date extraction
This commit is contained in:
		@@ -55,7 +55,7 @@ Future<BaseExpenseInfo?> extractInfoFromBill({
 | 
			
		||||
  for (final match in dateRegexp.allMatches(extractionResult.text)) {
 | 
			
		||||
    if (match.groupCount < 6) continue;
 | 
			
		||||
 | 
			
		||||
    int year = int.tryParse(match.group(6)!) ?? currDate.year;
 | 
			
		||||
    int year = int.tryParse(match.group(5)!) ?? currDate.year;
 | 
			
		||||
 | 
			
		||||
    try {
 | 
			
		||||
      final date = DateTime(
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user