Skip to content

Leading zeros are not added to hours/minutes #6

@borisbsu

Description

@borisbsu

In the following line hours/minutes are numeric, so the calling hours.length will return undefined value. Thus leading zero are not added.

if (hours.length == 1) hours = '0' + hours;

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