Skip to content

Commit f85b408

Browse files
committed
minor tweaks to README
1 parent 626cd0c commit f85b408

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,20 +19,20 @@ Edge cases
1919

2020
There were several different potential edge cases and bugs that could've cropped up with this utility. These are mainly the product of:
2121

22-
a. The required flexibility of the input value precision (the user can
23-
supply times of arbitrary precision to the program, and the
24-
program has to decide how precise the user wants to be
25-
and allow a range of acceptable values)
26-
b. The required flexibility of the number of input values (the user
27-
can supply one time or a range)
28-
c. The specification that the log encompasses slightly more than
29-
a 24 hour timepoint. This means that a specified date interval range
30-
might appear twice in a log file.
22+
1. The required flexibility of the input value precision (the user can
23+
supply times of arbitrary precision to the program, and the
24+
program has to decide how precise the user wants to be
25+
and allow a range of acceptable values)
26+
2. The required flexibility of the number of input values (the user
27+
can supply one time or a range)
28+
3. The specification that the log encompasses slightly more than
29+
a 24 hour timepoint. This means that a specified date interval range
30+
might appear twice in a log file.
3131

3232
I've tried to remedy edge cases up front by normalizing all incoming dates
3333
and immediately turning them into intervals. Any precise values simply turn into one boundary for the time interval we're looking at, and if we're only looking for one timestamp, I simply make an interval out of two identical date values.
3434

35-
To combat c., I simply decided that the first range within the valid bounds of the log file would be the target range.
35+
To combat (3), I simply decided that the first range within the valid bounds of the log file would be the target range.
3636

3737
Performance
3838
===========

0 commit comments

Comments
 (0)