improvement of toRelativeTime + add exemple.html