PrettyTime 3.2.1.Final Released – Now with Czech language support
We are proud to announce the 3.2.1.Final version of PrettyTime. This release includes several bug-fixes, an improved NLP (time parsing) module, and a new method for more convenient configuration of time units:
public void exampleUnitConfiguration() { JustNow unit = t.getUnit(JustNow.class); unit.setMaxQuantity(1); // This means that "just now" will only be used to represent one millisecond difference between the target time and reference time. (the default is 5 minutes.) }
Improvements in the NLP module (based on Natty.) include more resilient parsing of date offsets such as “the day before yesterday,” which previously resulted in a date that actually represented “yesterday.”
Posted in PrettyTime, Releases