Update badger/src/Time.cpp

Fix bug in Time class