Small fixes to date logic in the Timeline demo app