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.VnMySQL = VnMySQL;
|
||||||
|
|
||||||
exports.initialize = function initialize(dataSource, callback) {
|
exports.initialize = function initialize(dataSource, callback) {
|
||||||
console.log(dataSource);
|
|
||||||
dataSource.driver = mysql;
|
dataSource.driver = mysql;
|
||||||
dataSource.connector = new VnMySQL(dataSource.settings);
|
dataSource.connector = new VnMySQL(dataSource.settings);
|
||||||
dataSource.connector.dataSource = dataSource;
|
dataSource.connector.dataSource = dataSource;
|
||||||
|
|
|
@ -56,8 +56,11 @@ class Controller {
|
||||||
|
|
||||||
const events = [];
|
const events = [];
|
||||||
value.forEach(event => {
|
value.forEach(event => {
|
||||||
|
let date = new Date(event.delivered);
|
||||||
|
date.setHours(0, 0, 0, 0);
|
||||||
|
|
||||||
events.push({
|
events.push({
|
||||||
date: event.delivered,
|
date: date,
|
||||||
color: 'green-circle',
|
color: 'green-circle',
|
||||||
title: 'Has delivery',
|
title: 'Has delivery',
|
||||||
isRemovable: true
|
isRemovable: true
|
||||||
|
|
Loading…
Reference in New Issue