You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

react-timestamp

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-timestamp - npm Package Compare versions

Comparing version

to
4.2.1

2

lib/timestamp.js

@@ -92,3 +92,3 @@ 'use strict';

// Years
var YEAR = 60 * 60 * 24 * 30 * 12;
var YEAR = 60 * 60 * 24 * 365;
if (seconds > YEAR) {

@@ -95,0 +95,0 @@ distance = Math.floor(seconds / YEAR);

{
"name": "react-timestamp",
"version": "4.2.0",
"version": "4.2.1",
"description": "A React component for displaying a datetime in the local timezone",

@@ -5,0 +5,0 @@ "main": "lib/timestamp.js",