摘要: 对于像我这种英语直接不过关的,系统的日期显示为英文的月份还真不知道是啥。还是写成普通的格式看着顺眼。下面就修改下系统返回的这个时间。用firebug查看返回的数据是一个json格式,日期的Key为timestring。首先我们找到controller,位置在:/usr/lib/lua/luci/controller/admin/system.lua。找到action_clock_status函数。在函数的结尾有以下两行: luci.http.prepare_content("application/json") luci.http.write_json({ timestri 阅读全文
posted @ 2012-04-17 10:54 AUOONG 阅读(3135) 评论(0) 推荐(0)