fixed am/pm error at 12 pm, in utils.cpp