Welcome, Guest
Username: Password: Remember me

TOPIC: [SOLVED] Default Date Value - Install Error on DB Create

Default Date Value - Install Error on DB Create 21 Jun 2013 13:06 #7589

  • BTB300
  • BTB300's Avatar
  • Offline
  • Moderator
  • Posts: 414
  • Thank you received: 130
  • Karma: 46
2.5 beta test build
Just a heads up for some who may have the same issue when installing

I Just set a date field...
- dd-mm-yyyy format
- set the default value in the properties box to 01-01-2013 (to match the expected format)
- downloaded and installed the component
- was greeted by a install error "Invalid default value for 'date_start' ...."

The Solution
the default date is set at the database level
The default value in the properties box needs to be in the format of yyyy-mm-dd

Hope it helps someone out
The administrator has disabled public write access.
The following user(s) said Thank You: admin
Time to create page: 0.084 seconds

Get Started