// 安装 moment npm i moment // 引入 <script src="./vue.js"></script> <script src="./node_modules/moment/moment.js"></script> // html里使用 <div id="app"> <!- ...
分类:
其他好文 时间:
2018-08-26 18:13:09
阅读次数:
512
参数介绍: 问题以及小BUG修复(可以看看):https://www.cnblogs.com/gtlm/p/7719739.html ...
分类:
其他好文 时间:
2018-08-25 00:39:19
阅读次数:
231
以下为官方文档: Multithreaded Pipeline Overview A multithreaded pipeline is a pipeline with an origin that supports parallel execution, enabling one pipeline ...
分类:
编程语言 时间:
2018-08-22 11:04:56
阅读次数:
237
此时此刻,林毅因为左髀受到雨澜嘅一个偷袭而失去咗行动力,正巧畀一个东青帮帮众揸住斧头对自己破咗过嚟,林毅连忙用冰晶炎刀抵挡住佢攻击,但系呢个时候,另外一人却是非常无耻嘅由林毅嘅背后偷袭。林毅面色一变,此时此刻嘅佢,根本就冇办法去抵挡身后嘅偷袭,因为佢左臂,已经畀完全嘅封住嘞,根本就唔使用。就喺咁危急 ...
分类:
其他好文 时间:
2018-08-20 01:14:33
阅读次数:
215
问题:不同国家,使用不同时区,而服务器代码却在国内,跨时区日期不同,根据日期查询,查询不到数据了 1.mongodb存储的new Date()是UTC时间,也就是0时区的时间,世界标准时间 2.参考moment官网,时区问题: http://momentjs.com/timezone/docs/ n ...
分类:
数据库 时间:
2018-08-19 11:07:49
阅读次数:
195
"来源poj1442" Our Black Box represents a primitive database. It can save an integer array and has a special i variable. At the initial moment Black Box ...
分类:
其他好文 时间:
2018-08-18 13:24:24
阅读次数:
197
传送门 题目描述 There is one last gate between the hero and the dragon. But opening the gate isn't an easy task. There were n buttons list in a straight line ...
分类:
其他好文 时间:
2018-08-16 22:26:05
阅读次数:
221
var m1 = moment('2018-08-14 11:00:00'), m2 = moment('2018-08-14 12:10:00'); console.log(m1)console.log(m2)console.log(m2.diff(m1, 'minute'));minute为分钟 ...
分类:
其他好文 时间:
2018-08-14 18:55:24
阅读次数:
2821
One of the programming paradigm in parallel processing is the producer/consumer paradigm that can be implemented using a system with a "manager" proce ...
分类:
编程语言 时间:
2018-08-03 23:15:40
阅读次数:
224
{{item.ctime | timeFormat('yyyy-MM-dd')}} //pattern = "" 形参的默认值,如果传过来的是undefined则为空 Vue.filter('timeFormat',function(timestr,pattern = ""){ var date =... ...
分类:
Web程序 时间:
2018-07-24 11:17:23
阅读次数:
248