added anew function in utils.py and changed the test for [time.%H:%M] to [time.H]:[time.M]