Skip to content

Time formatting: why harcoded 12h-format ? #20

@brunetton

Description

@brunetton

Hi. First of all thanks for this little piece of software; I'm using it with joy :)

One minor thing: I noticed that time format is 12h-format. Is there any reason for that ? I'm a French user, and here we're used to read "14:00" for 2PM.

Changing the date representation in Timer.description() from '%-I:%M %p' to '%-H:%M %p' solves the problem for me.

I think we Timer should refer to system for time format (en_US.UTF-8 will result is 12-hour format, and fr_FR.UTF-8 in 24h-format)

What do you think about it ?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions