Comments (6)
Okay, so this makes sense. I was actually thinking of additional changes that contribute to this:
- Make
compact_format
configurable (via the configuration file -- no cli flag). - Introduce a new
time_format
setting (as you suggested). - Change
compact_format
to include separatedue_date
anddue_time
component:{id:3d} [{completed}] {urgent} {due_date} {due_time} {summary} {list}{percent}
. I'm not sure if I want to change the default or not. What I am sure of, is that it'll allow you to retain you current output. π - The
"today"/"tomorrow"
thingy will only replacedue_date
, having no effect on the time (we'll probably addFormatter.parse_time
. - Double check how all this affects
--porcelain
(tests will quickly squeal if we break it though).
from todoman.
I'm labelling this hard
because of the introduction of compact_format
. I don't think --porcelain
will be affected by this at all. It ignores all format options.
from todoman.
I just realized we need to implement this for #108 to work/make sense (for some reason I'd assumed we'd done this already).
from todoman.
I don't understand what you mean. What did you think was implemented already?
from todoman.
Well, without date/time separation (the suggestion here), the code for #108 won't work, because format_date
actually receives a datetime object.
from todoman.
#117 fixes this. I chose a route that doesn't implement a config option for compact_format
. The dt_separator
is necessary in either case because we need to use it for parsing input as well.
from todoman.
Related Issues (20)
- Docs are filing to build on readthedocs HOT 1
- Docs are filing to build on readthedocs HOT 1
- Docs are filing to build on readthedocs HOT 1
- Navigating tasks with vim keys HOT 6
- todoman 4.3.0 not on pypi HOT 4
- 4.3.0: test_ctrl_c_clears fails HOT 3
- Click repl doesn't show up HOT 2
- categories with diacritics not handled well HOT 5
- Subcommand to get current configuration parameters HOT 1
- Can't run v4.3.2 on Slackware64-15.0 HOT 2
- Please release 4.4.0 at PyPi HOT 2
- Tasks template && time tracking HOT 1
- Flags in config file donβt apply to default commands HOT 1
- crash when creating new todo and reading description from stdin HOT 2
- Show one-line summaries when deleting multiple items
- Remember latest creation
- `todo categories` should show all categories
- Rethink flushing
- Exclude fields in list command HOT 1
- Feature request: Any plans on adding recurring tasks? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from todoman.