Signed-off-by: Pranav C <pranavxc@gmail.com>
@ -43,7 +43,6 @@ export default {
},
set(val) {
// console.log('dayjs=====', dayjs.utc(val).toString())
// const uVal = val && new Date(val).toISOString().slice(0, 19).replace('T', ' ').replace(/(\d{1,2}:\d{1,2}):\d{1,2}$/, '$1')
this.$emit('input', val && dayjs(val).format('YYYY-MM-DD HH:mm'))
}
@ -1009,7 +1009,6 @@ export default {
const newData = await this.api.update(id, {
[column._cn]: rowObj[column._cn]
}, { [column._cn]: oldRow[column._cn] })
this.$set(this.data[row], 'row', { ...rowObj, ...newData })
this.$set(oldRow, column._cn, rowObj[column._cn])
@ -35,7 +35,7 @@ const defaultClientPortMapping = {
const defaultConnectionConfig: any = {
// https://github.com/knex/knex/issues/97
// timezone: process.env.NC_TIMEZONE || 'UTC',
// dateStrings: true
dateStrings: true
};
export default class NcConfigFactory implements NcConfig {