blob: bed6f8da0db2e9e5bb9ef87489167687141996aa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# Change Log
## 1.3.3
* revert `ToString` to `&str` for greater efficiency
## 1.3.2
* removed serialized grammar as it made maintenance unwieldy
* added "payperiod" as another synonym for "pay period"
* adding bare "pay period" (also bear "week", "month", "year", and "weekend")
## 1.3.1
* documentation fix
## 1.3.0
* adding small_grammar feature to further speed up common use case
## 1.2.1
* bumpled lazy_static and pidgin dependencies
* use serialized matcher to avoid the cost of generating two_timer::GRAMMAR via the macro;
this cuts about 0.4 seconds off the startup time of two_timer on my machine, going from 0.85 seconds to 0.48 seconds
## 1.2.0
* added parsable function
## 1.1.0
* bumped lazy_static dependency
## 1.0.8
* made the space between time and AM/PM optional
## 1.0.7
* added `<specific_time>` pattern: e.g., 1969-05-06 12:03:05
## 1.06
* added "before and after"
* fixed "Friday the 13th" and "the 31st" to scan back through the calendar to the nearest match
## 1.0.5
* better organization and documentation of grammar
## 1.0.4
* added `<year>` pattern
* added ordinals for days of the month
* added kalends, nones, ides
* added March 5th, the fifth, Friday the 13th, etc.
* added period before/after/around time
* added noon and midnight
* added `<count>` `<periods>` from now/ago
## 1.0.3
* fixed "12 pm" bug
## 1.0.2
* added `msg` method to `TimeError`
## 1.0.1
* removing some documentation
## 1.0.0
* convert `Date<Utc>` and `DateTime<Utc>` everywhere to `NaiveDate` and `NaiveDateTime`
* added "weekend" for the expressions "this weekend", "last weekend", etc.
* don't require space between era suffix and year -- "100AD" is as good as "100 AD"
|