edited the time functionality for google integration