
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
react-pure-time
Advanced tools
React component which convert js date object, milliseconds to human readable format
import Time from 'react-pure-time';
<Time value="1990-06-16 13:22:17" format="d.m.Y H:i:s" />
Date object, milliseconds or string
Default: 'd.m.Y H:i'
php standart time/date formatting. PHP date format manual
Default: false
Show in UTC timezone
Default: —
Shows when date is incorrect or empty
Just a wrapper class
| Value | Format | Time component | with utc flag |
|---|---|---|---|
| Empty value | — | — | — |
| Empty value with placeholder | — | no time defined | no time defined |
| 1261322332312 | H:i:s | 17:18:52 | 15:18:52 |
| new Date(1261322332312) | d.m.Y H:i:s | 20.12.2009 17:18:52 | 20.12.2009 15:18:52 |
| new Date() | d.m.Y H:i:s | 08.05.2016 16:22:23 | 08.05.2016 13:22:23 |
| 1990-06-16 13:22:17 | d.m.Y H:i:s | 16.06.1990 13:22:17 | 16.06.1990 10:22:17 |
| September 2, 2003, 2:26 am | d.m.Y H:i:s | 02.09.2003 02:26:00 | 01.09.2003 23:26:00 |
| 2003 36 2003 | d.m.Y H:i:s | — | — |
FAQs
React pure time component which format date and time
We found that react-pure-time demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.