Skip to content

Fix gui date entry #31

@e3rd

Description

@e3rd

showcase

By default, when invoking mininterface showcase 1

we get full precision date

Image

1. get rid of microseconds

However, when using Up/Down on microseconds, we get: ValueError: invalid literal for int() with base 10: '05.821498'.

Fix this so that Up/Down works for seconds, microseconds, or neglect displaying seconds or something.

2. better shortcuts

When this is done, add shortcuts Alt+Up/Down for bigger times part. Now, Up/Down inc/decreases by one. Having Alt touched, implement something like this:

  • minutes +- 15
  • hours +- 5 (?)
  • days +- week
  • months +- 3
  • year +- 3

When #30 is done, there should be shortcut visible for given time part only, ex. having the caret on the minutes would display Alt+Up/Down 15 minutes, having it on hours would display Alt+Up/Down 5 hours

3. continuation

Hitting Down on 1st Nov should get you to 31th Oct.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions