Commit Graph

217 Commits

Author SHA1 Message Date
Abraham Toriz faef02d0a9
handle the error of the malformed time in database 2021-07-13 17:07:07 -05:00
Abraham Toriz 9d6a17b622
replace command with subcommand 2021-07-13 09:11:51 -05:00
Abraham Toriz bcdad1e138
remove a name 2021-07-13 09:11:29 -05:00
Abraham Toriz c3e96a8096
manage t w for begining of week different than monday 2021-07-10 19:08:16 -05:00
Abraham Toriz 0f8ff24d44
add mock subcommand resume 2021-07-10 14:17:59 -05:00
Abraham Toriz 3e67ea0a44
month command accepts current as month 2021-07-10 14:17:20 -05:00
Abraham Toriz 4e0decfd35
a test for later 2021-07-10 13:21:15 -05:00
Abraham Toriz 5ce3de7b6b
implement the month command 2021-07-10 13:20:42 -05:00
Abraham Toriz f5f6a44a4e
implement month command 2021-07-07 13:52:40 -05:00
Abraham Toriz 4154b59310
implement week command 2021-07-07 13:44:19 -05:00
Abraham Toriz 274152932f
add as tests some missing things 2021-07-07 13:43:42 -05:00
Abraham Toriz 763049e7a9
update cli on defining custom formats 2021-07-07 12:12:42 -05:00
Abraham Toriz 99888248e9
refactor main.rs to make it easier to read and extend 2021-07-07 12:10:57 -05:00
Abraham Toriz 07fa6d4f05
a better way of converting between timezones 2021-07-07 11:58:28 -05:00
Abraham Toriz c512e43c96
add yesterday command 2021-07-07 11:58:13 -05:00
Abraham Toriz 72b586d04d
add database tests and solve like 5 bugs 2021-07-07 11:54:18 -05:00
Abraham Toriz 91b98ed6e5
add support for --grep 2021-07-07 10:49:29 -05:00
Abraham Toriz 1bcf09c1f9
namestpace this functions inside display command 2021-07-07 07:19:55 -05:00
Abraham Toriz 1e33117660
today command and refactoring 2021-07-06 22:52:20 -05:00
Abraham Toriz b4f7a10cfc
fixes in the readme 2021-07-06 22:51:36 -05:00
Abraham Toriz f0e6a2b47d
finish human time parsing 2021-07-05 12:14:09 -05:00
Abraham Toriz 1b34ab89af
remove debug line 2021-07-03 18:20:35 -05:00
Abraham Toriz 7ef5c7be95
create config file and database if they dont exist 2021-07-03 18:17:26 -05:00
Abraham Toriz 65ba98c1f5
last of readme 2021-07-03 17:05:53 -05:00
Abraham Toriz 601182afda
more readme 2021-07-03 17:04:19 -05:00
Abraham Toriz c6cbb16373
readme 2021-07-03 17:02:34 -05:00
Abraham Toriz b87a2e1e9e
readme 2021-07-03 16:48:51 -05:00
Abraham Toriz e5cf319271
extended readme 2021-07-03 16:44:31 -05:00
Abraham Toriz 1170b39893
abbreviated times 2021-07-03 15:53:56 -05:00
Abraham Toriz 94443e1656
a handful of human formats 2021-07-02 20:40:06 -05:00
Abraham Toriz 253aa0ed99
parse dates and times precisely 2021-07-02 18:34:34 -05:00
Abraham Toriz a56df91b58
some date parsing magic 2021-07-02 10:07:07 -05:00
Abraham Toriz 4980b3df67
simpler syntax 2021-07-01 23:44:54 -05:00
Abraham Toriz 4007983cba
start with the sheet command 2021-07-01 23:44:38 -05:00
Abraham Toriz 3dfefedb75
introducing the timeparse module 2021-07-01 23:44:09 -05:00
Abraham Toriz 9112e7f3cf
properly display notes with accents 2021-07-01 11:45:04 -05:00
Abraham Toriz 52c70d6f66
correctly identify when format is csv 2021-06-30 19:36:08 -05:00
Abraham Toriz fdc45cea3f
allow to filter by start and end 2021-06-30 19:20:10 -05:00
Abraham Toriz 5062a7b699
add csv formatter 2021-06-30 18:51:34 -05:00
Abraham Toriz 91a99ed5ea
database adjustments and migrations 2021-06-30 18:51:02 -05:00
Abraham Toriz 3505ee396c
ignore some tests for now 2021-06-30 13:31:38 -05:00
Abraham Toriz 6d6eeead55
organize formatters into their own files 2021-06-30 13:27:42 -05:00
Abraham Toriz af2a18c8db
local timezone and timetrap database management 2021-06-29 18:20:51 -05:00
Abraham Toriz bd10e8582a
test display with old databases 2021-06-29 12:04:54 -05:00
Abraham Toriz 2e06994314
something else to test for command::in 2021-06-29 12:03:25 -05:00
Abraham Toriz c7de36e3f8
pass stderr to commands 2021-06-29 12:02:33 -05:00
Abraham Toriz d8cd301888
extract pretty string to a module 2021-06-29 12:01:51 -05:00
Abraham Toriz cfcc514fa3
dont issue trailing whitespaces 2021-06-29 07:20:52 -05:00
Abraham Toriz 5d3b50d552
get the actual terminal width 2021-06-28 23:40:41 -05:00
Abraham Toriz e59211f1f9
display the text of long notes nicely 2021-06-28 19:32:29 -05:00