Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

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

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

Regards
Vivek

Please Log in or Create an account to join the conversation.

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

  • vivek
  • vivek's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
  • Posts: 123
  • Thank you received: 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.

Please Log in or Create an account to join the conversation.

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

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
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

Please Log in or Create an account to join the conversation.

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

  • vivek
  • vivek's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
  • Posts: 123
  • Thank you received: 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

Please Log in or Create an account to join the conversation.

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

  • vivek
  • vivek's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
  • Posts: 123
  • Thank you received: 2
Format in the xml says format="Y-m-d".

Please Log in or Create an account to join the conversation.

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

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
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 following user(s) said Thank You: vivek

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.066 seconds
  let me say what a brilliant app! Thank you very very much for all the hard work to build Cook!
Tocpe (Forum)

Get Started