diff --git a/dist/index.js b/dist/index.js index d184a3a..5fdd421 100644 --- a/dist/index.js +++ b/dist/index.js @@ -2,8 +2,8 @@ * name: @jswork/next-time-format * description: Time format for next. * homepage: https://github.com/afeiship/next-time-format - * version: 1.0.0 - * date: 2020-11-25 15:25:29 + * version: 1.0.1 + * date: 2020-11-25 15:27:21 * license: MIT */ diff --git a/dist/index.min.js b/dist/index.min.js index d296713..85610c7 100644 --- a/dist/index.min.js +++ b/dist/index.min.js @@ -2,8 +2,8 @@ * name: @jswork/next-time-format * description: Time format for next. * homepage: https://github.com/afeiship/next-time-format - * version: 1.0.0 - * date: 2020-11-25 15:25:29 + * version: 1.0.1 + * date: 2020-11-25 15:27:21 * license: MIT */ !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),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)}(); \ No newline at end of file diff --git a/package.json b/package.json index 9fddc6f..aca7baa 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@jswork/next-time-format", - "version": "1.0.0", + "version": "1.0.1", "description": "Time format for next.", "homepage": "https://github.com/afeiship/next-time-format", "author": { @@ -47,4 +47,4 @@ "minute", "second" ] -} \ No newline at end of file +}