Moqui之时间转换
<script><![CDATA[
if (fromDate == null && thruDate == null && year && month) {
fromCal = ec.l10n.parseDateTime("${year}-${month}-01 00:00:00", "yyyy-MM-dd HH:mm:ss")
thruCal = fromCal.clone()
thruCal.add(Calendar.MONTH, 1)
thruCal.add(Calendar.SECOND, -1)
fromDate = new Timestamp(fromCal.getTimeInMillis())
thruDate = new Timestamp(thruCal.getTimeInMillis())
}
]]></script>

浙公网安备 33010602011771号