zone calendar date picker
gitea/salix/test This commit looks good Details

This commit is contained in:
Joan Sanchez 2019-02-26 14:11:30 +01:00
parent d404fc92c8
commit 4853c8fd60
2 changed files with 4 additions and 2 deletions

View File

@ -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;

View File

@ -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