Skip to content

Commit 32d2ab4

Browse files
committed
Release 1.0.0
1 parent 4ecebf0 commit 32d2ab4

File tree

3 files changed

+14
-4
lines changed

3 files changed

+14
-4
lines changed

dist/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* description: Time format for next.
44
* homepage: https://github.com/afeiship/next-time-format
55
* version: 1.0.0
6-
* date: 2020-11-19 13:16:56
6+
* date: 2020-11-19 13:17:50
77
* license: MIT
88
*/
99

dist/index.min.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* description: Time format for next.
44
* homepage: https://github.com/afeiship/next-time-format
55
* version: 1.0.0
6-
* date: 2020-11-19 13:16:56
6+
* date: 2020-11-19 13:17:50
77
* license: MIT
88
*/
99
!function(){function r(e){return(""+e).padStart(2,"0")}var e=(this||window||Function("return this")()).nx||require("@jswork/next");e.timeFormat=function(e){var t=parseInt(e%1e3/100),o=Math.floor(e/1e3%60),n=Math.floor(e/6e4%60),e=Math.floor(e/36e5);return{hour:e,minute:n,second:o,millisecond:t,datetime:[r(e),r(n),r(o)].join(":")}},"undefined"!=typeof module&&module.exports&&(module.exports=e.timeFormat)}();

package.json

+12-2
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,15 @@
3636
"publishConfig": {
3737
"access": "public",
3838
"registry": "https://registry.npmjs.org"
39-
}
40-
}
39+
},
40+
"keywords": [
41+
"next",
42+
"time",
43+
"format",
44+
"date",
45+
"left",
46+
"hour",
47+
"minute",
48+
"second"
49+
]
50+
}

0 commit comments

Comments
 (0)