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

febs

Package Overview
Dependencies
Maintainers
3
Versions
206
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

febs - npm Package Compare versions

Comparing version 0.8.59 to 0.8.60

browser/dist/febs-0.8.60/febs.base.js

24

browser/common/date.js

@@ -159,5 +159,5 @@ 'use strict';

date.setHours(
parseInt(strTime.substr(11, 2)),
parseInt(strTime.substr(14, 2)),
parseInt(strTime.substr(17, 2)),
parseInt(strTime.substr(11, 2))||0,
parseInt(strTime.substr(14, 2))||0,
parseInt(strTime.substr(17, 2))||0,
0);

@@ -180,5 +180,5 @@ return date;

date.setHours(
parseInt(strTime.substr(8, 2)),
parseInt(strTime.substr(10, 2)),
parseInt(strTime.substr(12, 2)),
parseInt(strTime.substr(8, 2))||0,
parseInt(strTime.substr(10, 2))||0,
parseInt(strTime.substr(12, 2))||0,
0);

@@ -310,5 +310,5 @@

date.setUTCHours(
parseInt(strTimeUTC.substr(11, 2)),
parseInt(strTimeUTC.substr(14, 2)),
parseInt(strTimeUTC.substr(17, 2)),
parseInt(strTimeUTC.substr(11, 2))||0,
parseInt(strTimeUTC.substr(14, 2))||0,
parseInt(strTimeUTC.substr(17, 2))||0,
0);

@@ -331,5 +331,5 @@ return date;

date.setUTCHours(
parseInt(strTimeUTC.substr(8, 2)),
parseInt(strTimeUTC.substr(10, 2)),
parseInt(strTimeUTC.substr(12, 2)),
parseInt(strTimeUTC.substr(8, 2))||0,
parseInt(strTimeUTC.substr(10, 2))||0,
parseInt(strTimeUTC.substr(12, 2))||0,
0);

@@ -336,0 +336,0 @@

@@ -225,4 +225,17 @@ febs 库是一些常用的工具的合集;

/**
* @desc: 通过字符串获取date. getTime('2012-05-09 11:10:12')
* @param strTime: 时间字符串. '2012-05-09 11:10:12'
* @return: Date.
*/
febs.date.getTime(strTime:string): Date;
/**
* @desc: 通过时间获取date. getTime2('20120509111012')
* @param strTime: 时间字符串. '20120509111012'
* @return: Date.
*/
febs.date.getTime2(strTime:string): Date;
/**
* @desc: 通过世界时间获取date. getTimeFromUTC('2012-05-09 11:10:12')

@@ -229,0 +242,0 @@ * @param strTimeUTC: 世界时间字符串. '2012-05-09 11:10:12'

@@ -88,3 +88,3 @@ {

"name": "febs",
"version": "0.8.59"
"version": "0.8.60"
}

@@ -189,2 +189,16 @@ febs 库是一些常用的工具的合集;

/**
* @desc: 通过字符串获取date. getTime('2012-05-09 11:10:12')
* @param strTime: 时间字符串. '2012-05-09 11:10:12'
* @return: Date.
*/
febs.date.getTime(strTime:string): Date;
/**
* @desc: 通过时间获取date. getTime2('20120509111012')
* @param strTime: 时间字符串. '20120509111012'
* @return: Date.
*/
febs.date.getTime2(strTime:string): Date;
/**
* @desc: 通过世界时间获取date. getTimeFromUTC('2012-05-09 11:10:12')

@@ -191,0 +205,0 @@ * @param strTimeUTC: 世界时间字符串. '2012-05-09 11:10:12'

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