relative time component for React