You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The error is Bad value 1610828671000 for attribute datetime on element time: Year out of range
This is the output <time datetime="1610828671000">1d ago</time> <Moment fromNow>{job.created_at}</Moment>
The text was updated successfully, but these errors were encountered:
Try something like this. Note the unix attribute and I'm dividing your number by 1000 because it appears to be microseconds (typically returned by javascript's Date class) while timestamps need to be seconds.
The error is Bad value 1610828671000 for attribute datetime on element time: Year out of range
This is the output
<time datetime="1610828671000">1d ago</time>
<Moment fromNow>{job.created_at}</Moment>
The text was updated successfully, but these errors were encountered: