Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

fulcrum-core

Package Overview
Dependencies
Maintainers
1
Versions
109
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fulcrum-core - npm Package Compare versions

Comparing version 0.0.14 to 0.0.15

12

dist/utils/date-utils.js

@@ -40,4 +40,4 @@ 'use strict';

DateUtils.formatTime = function formatTime(date) {
var hours = _lodash2.default.padLeft(date.getHours(), 2, '0');
var minutes = _lodash2.default.padLeft(date.getMinutes(), 2, '0');
var hours = _lodash2.default.padStart(date.getHours(), 2, '0');
var minutes = _lodash2.default.padStart(date.getMinutes(), 2, '0');

@@ -60,4 +60,4 @@ return hours + ':' + minutes;

var year = date.getFullYear();
var month = _lodash2.default.padLeft(date.getMonth() + 1, 2, '0');
var day = _lodash2.default.padLeft(date.getDate(), 2, '0');
var month = _lodash2.default.padStart(date.getMonth() + 1, 2, '0');
var day = _lodash2.default.padStart(date.getDate(), 2, '0');

@@ -77,4 +77,4 @@ return year + '-' + month + '-' + day;

var year = date.getFullYear();
var month = _lodash2.default.padLeft(date.getMonth() + 1, 2, '0');
var day = _lodash2.default.padLeft(date.getDate(), 2, '0');
var month = _lodash2.default.padStart(date.getMonth() + 1, 2, '0');
var day = _lodash2.default.padStart(date.getDate(), 2, '0');
return year + '-' + month + '-' + day;

@@ -81,0 +81,0 @@ }

{
"name": "fulcrum-core",
"version": "0.0.14",
"version": "0.0.15",
"description": "Fulcrum Core",

@@ -5,0 +5,0 @@ "homepage": "http://github.com/fulcrumapp/fulcrum-core",

@@ -23,4 +23,4 @@ import Locale from './locale';

static formatTime(date) {
const hours = _.padLeft(date.getHours(), 2, '0');
const minutes = _.padLeft(date.getMinutes(), 2, '0');
const hours = _.padStart(date.getHours(), 2, '0');
const minutes = _.padStart(date.getMinutes(), 2, '0');

@@ -43,4 +43,4 @@ return hours + ':' + minutes;

const year = date.getFullYear();
const month = _.padLeft(date.getMonth() + 1, 2, '0');
const day = _.padLeft(date.getDate(), 2, '0');
const month = _.padStart(date.getMonth() + 1, 2, '0');
const day = _.padStart(date.getDate(), 2, '0');

@@ -60,4 +60,4 @@ return year + '-' + month + '-' + day;

const year = date.getFullYear();
const month = _.padLeft(date.getMonth() + 1, 2, '0');
const day = _.padLeft(date.getDate(), 2, '0');
const month = _.padStart(date.getMonth() + 1, 2, '0');
const day = _.padStart(date.getDate(), 2, '0');
return year + '-' + month + '-' + day;

@@ -64,0 +64,0 @@ }

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc