Welcome, Guest
Username: Password: Remember me

TOPIC: [FIXED] creation date defaults to 1999-11-30

creation date defaults to 1999-11-30 21 Mar 2014 01:48 #12319

  • vivek
  • vivek's Avatar
  • Offline
  • Premium Member
  • Posts: 123
  • Thank you received: 2
  • Karma: 2
Hi,
Using the wizard fields, creation date defaults to 1999-11-30 always.

Regards
Vivek
The administrator has disabled public write access.

creation date defaults to 1999-11-30 02 Apr 2014 14:42 #12386

  • vivek
  • vivek's Avatar
  • Offline
  • Premium Member
  • Posts: 123
  • Thank you received: 2
  • Karma: 2
It is been more than 10 days now and no reply..It is very difficult to do anything useful when basic stuff is not working.
The administrator has disabled public write access.

creation date defaults to 1999-11-30 02 Apr 2014 16:19 #12387

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 984
  • Karma: 140
I am here, sorry.

For me I think this is fixed already.

Can you open the concerned XML form file and tell me what is the value of the "format" property of the field.
If this property is empty, then here is your problem. Remove the property or set it as you want. But not empty.

If still not working, can you provide more informations ?
Do you have used unix format ?

PTL please ...
Coding is now a piece of cake
The administrator has disabled public write access.

creation date defaults to 1999-11-30 03 Apr 2014 00:47 #12388

  • vivek
  • vivek's Avatar
  • Offline
  • Premium Member
  • Posts: 123
  • Thank you received: 2
  • Karma: 2
Hi,
Let me check the xml form file..I am still testing this on Sandbox and getting the error there..

Project ends with "Snippets" in my account.

Regards
Vivek
The administrator has disabled public write access.

creation date defaults to 1999-11-30 03 Apr 2014 01:12 #12389

  • vivek
  • vivek's Avatar
  • Offline
  • Premium Member
  • Posts: 123
  • Thank you received: 2
  • Karma: 2
Format in the xml says format="Y-m-d".
The administrator has disabled public write access.

creation date defaults to 1999-11-30 03 Apr 2014 11:47 #12390

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 984
  • Karma: 140
Ok, I got it.
Thank you very much. This as raised in very special cases
Thank you very for reporting issues.

want to give you karma for this one.

Fixed.
Regenerate your component, and replace your models files.
...or fix it manually.

models/mymodel.php
function save()
Set up the format in the XXXHelperDates::getSqlDate() call. You can see the array contains empty string. Here we are.
Coding is now a piece of cake
The administrator has disabled public write access.
The following user(s) said Thank You: vivek
Time to create page: 0.219 seconds

Get Started