[Utils] fix "getRelativeTime" method; [demo] remove unnecessary line