Skip to content

Commit

Permalink
minor bugfix for quarter disambiguation
Browse files Browse the repository at this point in the history
  • Loading branch information
jzell committed May 26, 2014
1 parent d620da1 commit 5ca451f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/de/unihd/dbs/uima/annotator/heideltime/HeidelTime.java
Original file line number Diff line number Diff line change
Expand Up @@ -1421,7 +1421,7 @@ else if (value_i.startsWith("UNDEF-last-quarter")) {
valueNew = valueNew.replace(checkUndef, lmYearOnly-1+"-Q4");
} else {
int newQuarter = lmQuarterOnly-1;
valueNew = valueNew.replace(checkUndef, dctYear+"-Q"+newQuarter);
valueNew = valueNew.replace(checkUndef, lmYearOnly+"-Q"+newQuarter);
}
}
}
Expand Down

0 comments on commit 5ca451f

Please sign in to comment.