Skip to content

[Suggestion] Change the behavior of the static method: getDisplayTime #47

Description

@ArturAssisComp

The parameters RightBreak can only be used as break elements. If the user wants to use them as suffix, it is not necessarily possible. For example, if I want "HH hours" or something like that, it is not possible, it only returns "HH" even if hoursRightBreak is set to " hours". Maybe adding new parameters: hourSuffix, minuteSuffix, secondSuffix, and milliSecondSuffix and making them behave as lasting even if the next time element is not displayed would make it clearer and more flexible. Those who want to use them as right breaks, could do that, and those who want to use them as suffixes could do too.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions