summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* main: Handle optionsP. J. McDermott2021-08-311-3/+90
|
* datetime: Add missing #include in headerP. J. McDermott2021-08-311-0/+2
|
* main: Fix exit status on buffer alloc failureP. J. McDermott2021-08-311-1/+1
| | | | Fixes an issue in code moved in commit ad183ca4.
* datetime: Replace goto with function callsP. J. McDermott2021-08-301-66/+72
| | | | | goto is fine, but this splits up a function that had grown a little long.
* datetime: Replace unnecessary fprintf with fputsP. J. McDermott2021-08-301-1/+1
|
* datetime: Replace large list of formatsP. J. McDermott2021-08-303-832/+131
|
* datetime: Drop ambiguous delimiter-less formatsP. J. McDermott2021-08-301-4/+0
| | | | | "20210920210920" could be parsed as either 2021-09-20 21:09:20 or 20:21:09 2021-09-20.
* datetime: Support weekday-only datesP. J. McDermott2021-08-292-2/+36
|
* datetime: Init all relevant struct tm membersP. J. McDermott2021-08-291-4/+11
|
* main: Prevent dates too large to consistently showP. J. McDermott2021-08-291-2/+8
|
* datetime: Make year optionalP. J. McDermott2021-08-292-5/+377
|
* datetime: Add some missing formatsP. J. McDermott2021-08-291-0/+8
|
* datetime: Remove debugging outputP. J. McDermott2021-08-291-5/+0
|
* Move concatenation functionP. J. McDermott2021-08-293-53/+52
|
* main: Improve outputP. J. McDermott2021-08-291-4/+5
|
* Add loop, adjust datetime_parse() param and declsP. J. McDermott2021-08-293-22/+42
|
* datetime: Minor cleanupP. J. McDermott2021-08-291-2/+2
|
* datetime: Further implementP. J. McDermott2021-08-295-50/+553
| | | | | Simplify concatenation, factor out formats, and determine date if not specified.
* datetime: WIPP. J. McDermott2021-08-294-0/+121
|
* Initial commitP. J. McDermott2021-08-282-0/+7