template.helper('changeTime',function getLocalTime(nS) { var b=nS.substr(6,13); var c=parseInt(b) var d = new Date(c); return d.Format('yyyy-MM-dd hh:mm');}); template.helper('toDate',function (dt) { if(dt){ if(getExplorerInfo().type=="Chrome"){
网上提供的方法用不了 自己琢磨的 注意:ajax的异步方式必须设置成true才行,false不起作用.async: true: <script> function timestamp (value) { var date = new Date(value); var y = date.getFullYear(); ; m = m < ? (' + m) : m; var d = date.getDate(); d = d < ? (' + d) : d; return y + '/
Rsyslog配置文件详解https://my.oschina.net/0757/blog/198329 # Save boot messages also to boot.log 启动的相关信息local7.* /var/log/boot.log查看Linux的启动日志,启动失败,看日志 摘要: 非常详细的rsyslogd配置文件解析rsyslog服务和logrotate服务============================================================