godsmith / timereporter Goto Github PK
View Code? Open in Web Editor NEWCommand line time reporting tool written in Python
Command line time reporting tool written in Python
Parental leave should not take away from the default project like other projects do.
In the view below, the flex for Monday and Tuesday should be 2 hours higher.
Not sure how to handle this. Special project class leave? Non-working? This applies to sick leave and VAB as well.
-------------- ---------- ---------- ---------- ---------- ----------
2017-10-16 2017-10-17 2017-10-18 2017-10-19 2017-10-20
Monday Tuesday Wednesday Thursday Friday
Came 09:00 08:45
Went 17:00 17:00
Lunch 00:45 00:45
EPG Program 05:45 05:45 07:45 07:45 07:45
Parental Leave 02:00 02:00 00:00 00:00 00:00
Flex -00:30 -00:15
-------------- ---------- ---------- ---------- ---------- ----------
Test cases:
projct new myproject -> Unknown command "projct"
2017-08-17 2017-08-18 9 -> Multiple dates
undo 9 -> Unsupported command "undo 9"
9 9 8 -> Unsupported command "9 9 8"
t 8
t came 9
Expected: came 8
Actual: came 8, went 9
C:\Users\efillan\workspace\timereporter>t show www
Time "show" must be on the form H, HH:MM, H:MM, HHMM, HMM, M m, MM m, M min or M
M min
Need to add a main.py file to the package.
Shows the current day. Good for unit test if nothing else.
7.75 can be hard coded right now.
E.g. Parental leave repeats with 2 hours Monday-Thursday;
parental leave repeats with 7:45 every other week
Make a project repeating:
t project "Parental leave" --repeat=Monday,Tuesday,wednesday,thursday 2:00
Perhaps --from is not needed?
Every other week not needed right now, since not so time-intensive.
Add an entry for every currently ongoing repeating entry to the Day when adding a Day to the Calendar and the Day does not previously exist.
In the below, the activated should be bright, and the columns aligned.
$ t project "Parental leave"
--work --no-work
--repeat=Monday,Tuesday,Wednesday,Thursday --no-repeat
Because why not.
Start with setting up the environment in Travis again.
The packages listed in requires doesn't seem to do anything:
(Note: projects listed in setup_requires will NOT be automatically installed on the system where the setup script is being run. They are simply downloaded to the ./.eggs directory if they’re not locally available already. If you want them to be installed, as well as being available when the setup script is run, you should add them to install_requires and setup_requires.)
Should be installed by setup.py
Low prio.
C:\Users\efillan\workspace\timereporter>t came today 7:15
Time "today" must be on the form H, HH:MM, H:MM, HHMM, HMM, M m, MM m, M min or
MM min
Wanted:
Error: "today" is not a supported time format. See
$python -m timereporter help
for a list of the supported time formats.
That, of course, given that a help command exists. So fix #13 first.
start with t interactive. in there, you don't have to put t before every command. and the output of the last command is always visible at the top.
"Entering timereporter interactive mode. To quit: quit or Ctrl+C. For help: help"
See timereporter_bug.log
To make the pickle file more human readable and possible to transfer between versions
At least make the table borders show.
Wait for #21 to see if HTML page is needed.
E.g. rime report on a certain weekday
Then iterate through views and call a method on each
See email
Like show week but only iterate through a single day.
C:\Users\efillan\workspace\timereporter>t came today 7:15
Time "today" must be on the form H, HH:MM, H:MM, HHMM, HMM, M m, MM m, M min or
MM min
E.g. undo, another action -> redo should be impossible
Either from the web page, or even better, from the console.
After adding came and lunch to a day, and then a project, typing "t project 2" does nothing.
f-strings aren't worth this big incompatibility.
Start with changing appveyor to run Python 3.4.
Redo not necessary, if it is clear what has been undone. E.g. 'Undid "came 9:00, went 15:00 2017-09-10"'; 'Undid 2 hours EPG Program 2017-09-10"
The show week table but write it to an html table in an html file and open it in the default browser.
Right now str(timedelta) is on the form '0:45' and str(datetime) is on the form '00:45:00'. Change both to '00:45'.
Subclass both classes and import those instead?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.