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

febs

Package Overview
Dependencies
Maintainers
1
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.3.11 to 0.3.12

6

HISTORY.md

@@ -62,2 +62,6 @@

- [enhancement] client jquery -> $
- [bugfix] client uploadBase64
- [bugfix] client uploadBase64
0.3.12
==================
- [feature] add febs.utils.getDate2

2

package.json

@@ -47,3 +47,3 @@ {

"name": "febs",
"version": "0.3.11"
"version": "0.3.12"
}

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

febs.utils.getDate(strDate)
/**
* @desc: getDate2('20120509')
* @return: Date.
*/
febs.utils.getDate2(strDate)
```

@@ -138,0 +143,0 @@ ```js

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

*/
exports.getTimeString = function getTimeString(time, fmt, weekFmt)
function getTimeString(time, fmt, weekFmt)
{

@@ -148,2 +148,3 @@ if (typeof time !== "number")

};
exports.getTimeString = getTimeString;

@@ -235,2 +236,15 @@

/**
* @desc: getDate2('20120509')
* @return: Date.
*/
exports.getDate2 = function(strDate) {
var date = eval('new Date('
+ strDate.substr(0, 4) + ','
+ parseInt(strDate.substr(4, 2), 10)-1 + ','
+ strDate.substr(6, 2) + ')');
return date;
}
/**
* @desc: 合并多个map.

@@ -237,0 +251,0 @@ * @return: {}

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