Closed (won't fix)
Project:
Date
Version:
6.x-2.x-dev
Component:
Date API
Priority:
Critical
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
1 Mar 2009 at 13:27 UTC
Updated:
17 Jan 2011 at 11:01 UTC
Jump to comment: Most recent file
Comments
Comment #1
kelvinwong commentedComment #2
kelvinwong commentedSorry, I didn't mean to change the title.
I just wanna say I got the same problem
Comment #3
phl3tch commentedHaving the same problem. Looks like a bug was introduced in the most recent release.
Comment #4
steve22 commentedMy opinion is 'date' module is probably the worst supported module of drupal. It's been nearly 3 weeks since the 6.x-2.0 and the most critical bug has not been fixed. Since upgrade my site has become almost completely unusable.
Comment #5
karens commented@steve22, Thanks a lot. I spend hundreds and hundreds of (unpaid) hours doing this and have made thousands (literally thousands) of commits. Comments like this make it all worth while.
To everyone else, try the -dev version of the code. I'm pretty sure this should be fixed.
Comment #6
arlinsandbulte commentedDon't take it personally, Karen. We can see how much time and effort you put into the Date and Calendar modules and are very appreciative. Both these modules are quite complex, and I think you are doing a fantastic job.
I actually think these modules are some of the best supported. The issue queues are active and there are other users that help out a lot. There are a lot of people using these modules, all trying to bend them to their will, so bugs (and feature requests) are part of the game.
Instead of criticizing Karen, more people need to ask "I find these modules very useful, How can I help make them better?"
Comment #7
karens commented@arlinsandbulte, thx. I should just ignore that stuff. I usually do.
Comment #8
natali commentedI still have the same problem.
warning: date_create() [function.date-create]: Failed to parse time string (1230-76-44 00:00:00) at position 6 (6): Unexpected character in /udata/WWW/xwww.utia.cas.cz/sites/all/modules/date/date_api.module on line 798.
I did all TROUBLESHOOTING part in Date module, but problem still remains.
What type of information do you need?
Comment #9
restyler commentedHow do you manage to create '1230-76-44 00:00:00' type of dates ?
I have the similar problem with latest -dev release.
I'm using node_import, and I get this:
"warning: date_create() [function.date-create]: Failed to parse time string (2008-30-09 00:00:00) at position 6 (0): Unexpected character in Z:\home\munworld\www\sites\all\modules\date\date_api.module on line 1162."
As far as I understand, the date_create function expects Y-m-d format, but it gets Y-d-m.
So I've managed to fix it (quick&dirty, but it worked for me)
by switching the values by adding
before the date_create() call. I'm sure this approach won't help people that are trying to convert weird strings like "'1230-76-44 00:00:00'" to the date object.
Comment #10
karens commentedThe message 'Failed to parse time string (1230-76-44 00:00:00)' implies it is getting a timestamp input (12307644) and trying to evaluate it as a datetime value. If you are doing that with some custom code, there's a problem in your code. If you're getting that with the standard Date module processing, I need more information about how your date field is set up (you can create an export using the Content Copy module), and I also need to know exactly what you are doing when you see the message.
The second is probably similar. I don't know what node_import is sending to Date, but it's obviously something in the wrong format.
Comment #11
natali commentedYou are right, i have in DB 1230764400 and it sould be year 2009, but it show 1230 and this warning. I have field Datestamp 'Zahajeni' in my view.
I see message when
* edit my contemplate (body variables - $node->field_zahajeni[0]['view'] 1230 )
* look at my projekt as page - i have "$node->field_zahajeni[0]['view']" - in my contemplate
* look at list of projekts - it's view
All these setup worked, but after some Date update (i'm not sure which one) it has stopped working :( Thank you for your time!
Field has setup - should be in attachement - export_date.txt
Comment #12
arlinsandbulte commentednatali, steve et. al.
What is the status of this report?
There has been no activity since April (4 months).
Just looking to clear some things from the queue.
Comment #13
arlinsandbulte commentedNo reply, I am marking as fixed.
Comment #15
drupalfan2 commentedI get this error too. Is there any solution?
Comment #16
drupalfan2 commentedPlease do not close the, this is a bug!
Comment #17
karens commentedThis is an old report without enough information to do anything. I can't fix bugs without enough information to reproduce the problem. Some things are not in fact bugs from this module, they may be bugs in other modules or problem in your setup.
It should only be re-opened if someone can report that you can produce a problem using the latest code (the dev version with all the latest changes) in a clean Drupal installation with no other modules enabled. Otherwise it is a support request that has something to do with your individual setup that cannot be answered without a lot more information.
Comment #18
karens commentedNo response to my question, so there's nothing I can do.