我新编辑的 rime.lua 文件内容,上下```之间的内容
```
function time_translator(input, seg)
if (input == "date") then
local cand = Candidate("date", seg.start, seg._end, os.date("%Y-%m-%d"), "")
cand.quality = 1
yield(cand)
end
if (input == "date") then
local cand = Candidate("date", seg.start, seg._end, os.date("%Y年%m月%d日"), "")
cand.quality = 1
yield(cand)
end
if (input == "time") then
local cand = Candidate("time", seg.start, seg._end, os.date("%H:%M:%S"), "")
cand.quality = 1
yield(cand)
end
if (input == "now") then
local cand = Candidate("time", seg.start, seg._end, os.date("%Y-%m-%d %H.%M.%S"), "")
cand.quality = 1
yield(cand)
end
if (input == "now") then
local cand = Candidate("time", seg.start, seg._end, os.date("%Y.%m.%d %H:%M:%S"), "")
cand.quality = 1
yield(cand)
end
end
```
因为我是用五笔拼音,所以对应修改wubi_pinyin.schema.yaml