zone calendar date picker
gitea/salix/test This commit looks good
Details
gitea/salix/test This commit looks good
Details
This commit is contained in:
parent
d404fc92c8
commit
4853c8fd60
|
@ -241,7 +241,6 @@ class VnMySQL extends MySQL {
|
|||
exports.VnMySQL = VnMySQL;
|
||||
|
||||
exports.initialize = function initialize(dataSource, callback) {
|
||||
console.log(dataSource);
|
||||
dataSource.driver = mysql;
|
||||
dataSource.connector = new VnMySQL(dataSource.settings);
|
||||
dataSource.connector.dataSource = dataSource;
|
||||
|
|
|
@ -56,8 +56,11 @@ class Controller {
|
|||
|
||||
const events = [];
|
||||
value.forEach(event => {
|
||||
let date = new Date(event.delivered);
|
||||
date.setHours(0, 0, 0, 0);
|
||||
|
||||
events.push({
|
||||
date: event.delivered,
|
||||
date: date,
|
||||
color: 'green-circle',
|
||||
title: 'Has delivery',
|
||||
isRemovable: true
|
||||
|
|
Loading…
Reference in New Issue