Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | datetime: Collapse spaces after strftime() | P. J. McDermott | 2021-09-01 | 1 | -20/+29 |
| | | | | Turns "Sep 1" into "Sep 1". | ||||
* | datetime: Free fmt bufs when iterators reach end | P. J. McDermott | 2021-08-31 | 1 | -3/+19 |
| | | | | Simplifies caller code. | ||||
* | datetime: Replace %d with %e in some formats | P. J. McDermott | 2021-08-31 | 1 | -12/+12 |
| | |||||
* | Add option to list supported formats | P. J. McDermott | 2021-08-31 | 1 | -8/+116 |
| | |||||
* | datetime: Find ends of arrays with sizeof() | P. J. McDermott | 2021-08-31 | 1 | -10/+12 |
| | | | | | | | | | | | | Before: $ wc -c @ 61256 @ After: $ wc -c @ 60616 @ | ||||
* | datetime: Add UNIX-like date format | P. J. McDermott | 2021-08-31 | 1 | -0/+2 |
| | |||||
* | datetime: Replace goto with function calls | P. J. McDermott | 2021-08-30 | 1 | -66/+72 |
| | | | | | goto is fine, but this splits up a function that had grown a little long. | ||||
* | datetime: Replace unnecessary fprintf with fputs | P. J. McDermott | 2021-08-30 | 1 | -1/+1 |
| | |||||
* | datetime: Replace large list of formats | P. J. McDermott | 2021-08-30 | 1 | -13/+131 |
| | |||||
* | datetime: Support weekday-only dates | P. J. McDermott | 2021-08-29 | 1 | -2/+18 |
| | |||||
* | datetime: Init all relevant struct tm members | P. J. McDermott | 2021-08-29 | 1 | -4/+11 |
| | |||||
* | datetime: Make year optional | P. J. McDermott | 2021-08-29 | 1 | -5/+17 |
| | |||||
* | datetime: Remove debugging output | P. J. McDermott | 2021-08-29 | 1 | -5/+0 |
| | |||||
* | Move concatenation function | P. J. McDermott | 2021-08-29 | 1 | -48/+3 |
| | |||||
* | Add loop, adjust datetime_parse() param and decls | P. J. McDermott | 2021-08-29 | 1 | -16/+24 |
| | |||||
* | datetime: Minor cleanup | P. J. McDermott | 2021-08-29 | 1 | -2/+2 |
| | |||||
* | datetime: Further implement | P. J. McDermott | 2021-08-29 | 1 | -47/+68 |
| | | | | | Simplify concatenation, factor out formats, and determine date if not specified. | ||||
* | datetime: WIP | P. J. McDermott | 2021-08-29 | 1 | -0/+104 |