- add option and environment variable alternatives for all settings
- add setting to specify timezone for display
- setting :
TIME_ZONE
- option:
--time-zone <value>
- environment variable:
WORKEDON_TIME_ZONE
- setting :
- fix usage of date/time formatting settings
- BREAKING (for advanced users only): removed the
db
andconf
subcommands and moved their options under the mainworkedon
command to free up reserved keywordsdb
andconf
.workedon db --print-path
is nowworkedon --print-db-path
workedon db --vacuum
is nowworkedon --vacuum-db
workedon db --truncate
is nowworkedon --truncate-db
workedon db --version
is nowworkedon --db-version
workedon conf --print-path
is nowworkedon --print-settings-path
workedon conf --print
is nowworkedon --print-settings
- all above options are now hidden from the user
- enable the settings file
wonfile.py
- allow settings
DATE_FORMAT
,TIME_FORMAT
,DATETIME_FORMAT
- add a
conf
command to view the settings - fix load_module deprecation
- change default date/time format
- more database optimizations
- add --version for the db subcommand to print current SQLite version
- add some database optimizations
- add a new "db" subcommand for database maintenance (advanced users only)
- add --print-path to print database file path
- add --vacuum to run VACUUM on the database
- add --truncate to delete all saved work
- Remove usage of reserved keyword "work" and make it available
- add fetching by id using --id/-i
- make --count work with all other options
- fix hash generation
- fix deletion
- add --since as alternative for --from
- fix formatting in shell
- add -l/--text-only for text-only output
- remove -d used as alternative for --delete
- add -g as alternative for no-page
- fix help text
- update README
- hashlib: set usedforsecurity
- allow reverse sorting using -r/--reverse
- remove recording seconds for simple querying
- add --no-page to avoid paging
- improve deleting
- fix start > end check
- add --at to fetch work done at a particular time on a particular date/day
- Breaking: rename database to won.db (A new database will be created and the old one will no longer be used.)
- fix error message
- raise if start date is greater than end date
- don't force color when paging
- Python 3.11 support
- ask for deletion only if there's something
- use tz aware now() for comparison
- Breaking: rename database to wondb.sqlite3
- force colored output on windows
- use tz aware RELATIVE_BASE
- add --delete/-d for deletion
- add --on to fetch work done on a particular date/day
- add --last/-s to fetch the last entered work log
- make dependency versions flexible
- Fixed README
- First release on PyPI.