我想使用 icu_date 库,但是当我尝试插入一个值时,出现错误
icu_date = require("icu-date")
format_date = icu_date.formats.iso8601()
end_time = icu_date.now()
1602586287098 - print value
end_time:set_millis(1602461532000)
error: '[string "return end_time:set_millis(1602461532000)"]:1: attempt to index global ''end_time'' (a number value)'
也许没有足够的图书馆?
- 库 libicu-devel-50.2-4.el7_7.x86_64
- 系统:Centos 7