Skip to content

Conversation

@amandasaurus
Copy link
Contributor

Some people would rather have non-approximate times (e.g.). This patch makes the times always show seconds.

I don't have a strong preference. I am OK with this patch being accepted or not.

if hours > 0 or days > 0 or weeks > 0:
output.append("{} hour(s)".format(hours))

output.append("{} minute(s)".format(minutes))
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should now be conditional as well.

Rather than rounding down to nearest minute.
@amandasaurus amandasaurus force-pushed the time-no-longer-approximate branch from 8acbb62 to c3fbb1e Compare July 3, 2023 08:30
@amandasaurus
Copy link
Contributor Author

Changes made & new version force pushed (after rebase)

@lonvia lonvia merged commit 60342fa into osm2pgsql-dev:master Jul 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants