1
1
mirror of https://github.com/Fabio286/antares.git synced 2025-06-05 21:59:22 +02:00

Update system

This commit is contained in:
2020-06-19 18:03:52 +02:00
parent 0d10a93bf8
commit 42e0353393
15 changed files with 197 additions and 31 deletions

View File

@ -70,10 +70,12 @@ export default {
case 'char':
case 'varchar':
case 'text':
case 'mediumtext':
return val.substring(0, 128);
case 'date':
return moment(val).format('YYYY-MM-DD');
case 'datetime':
case 'timestamp':
return moment(val).format('YYYY-MM-DD HH:mm:ss.SSS');
case 'blob':
case 'mediumblob':