Skip to content

Conversation

@ergotse
Copy link

@ergotse ergotse commented May 23, 2025

Added some parameters to ProgressBarBuilder:

  • taskFixedLength
  • timeFormat

Added enum TimeFormat:
DEFAULT, // Duration time and eta will be displayed as before
ADAPTED, // Duration time and eta will be displayed as seconds when under a minute (e.g. 5, 22, etc), as minuted and seconds when under an hour (e.g. 0:05, 0:22, 1:05, etc), and as hour, minutes and seconds when an hour and above
SECONDS, // Duration time and eta will be displayed as seconds (e.g. 5, 22, 65, ...)
MINUTES_SECONDS// Duration time and eta will be displayed as minutes and seconds (e.g. 0:05, 0:22, 1:05, .etc)

Made code changes to handle these parameters

…. Made it possible to set fixed with for task name
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.

1 participant