Comments (2)
Hi, @fedaykinofdune
The problem is the validator makes certain assumptions about the timestamp format outlined here
I'm assuming you want to edit existing records, that have a timestamp field already set.
In this case a very quick and dirty fix will be to set the timestamp column type to varchar(255), as the text fields doesn't have any other validation except for their length, and leave the control type as text.
{
"control": {
"text": true
},
"type": "varchar(255)"
}
The value of the type
key is related only to the validation process.
Let me know if this doesn't work, or if your configuration requires something else.
from express-admin.
Excellent, thanks for the explanation, I'm still familiarizing myself with
mySQL so your tool really helps out with some constant headaches. Thanks
for the workaround as well! Normally if I have to edit anything in my
pool's database, I have to change a batch of share id's or something which
can be done in one line but your tool is particularly useful for looking at
and then manually flagging "strange" records for later comparison, so the
workaround will definitely help!
On Fri, Jun 20, 2014 at 2:58 AM, simo [email protected] wrote:
Hi, @fedaykinofdune https://github.com/fedaykinofdune
The problem is the validator makes certain assumptions about the timestamp
format outlined here
http://dev.mysql.com/doc/refman/5.1/en/datetime.htmlI'm assuming you want to edit existing records, that have a timestamp
field already set.In this case a very quick and dirty fix will be to set the timestamp
column type to varchar(255), as the text fields doesn't have any other
validation except for their length, and leave the control type as text.{
"control": {
"text": true
},
"type": "varchar(255)"}The value of the type key is related only to the validation process.
Let me know if this doesn't work, or if your configuration requires
something else.—
Reply to this email directly or view it on GitHub
#50 (comment).
from express-admin.
Related Issues (20)
- nsp security issues HOT 1
- Store comma seperated values for a single column.
- Passing parameters to /add in order to prevalue fields
- mysql insert operation not working in -v (development, no login) mode HOT 1
- Time is not shown correctlly for mysql db HOT 1
- Unhandled exception when paginating empty resultsets
- Ajax call not working
- Error creating entry with many to many relationship
- crashes under Firefox Quantum 62.0 (64-bit) under OSX
- Support for postgres data type json? HOT 4
- ERROR! Could not find `pg` or `pg.js` module HOT 1
- Can this be used with hapijs? HOT 1
- PG setup via connection string
- Datepicker saving timezone with timestamp HOT 1
- Empty one to Many HOT 4
- Filter in tables throw internal server error HOT 1
- Password authentication fails for Postgres (11) connections HOT 4
- Flash of unstyled content HOT 3
- how to configure server using nodemon HOT 1
- what is mean for this error HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from express-admin.