Fix date-syncing bugs.

References #7.
Set API source.

References pjf/WebService-HabitRPG#28.