Closed (cannot reproduce)
Project:
Webform
Version:
7.x-3.18
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Jun 2013 at 21:13 UTC
Updated:
2 Nov 2014 at 21:32 UTC
Jump to comment: Most recent
Comments
Comment #1
quicksketchThanks @Laurent_, I really appreciate you opening a new issue for this problem.
I can see how we might accidentally overlook this problem, as most of the time when I don't want an end date I'll just leave the field blank. An end-date of "0"... I'm not sure what that would mean from a computer's standpoint. It could mean "0AD" I suppose, which might be where the error is occurring, since there isn't a 0AD (it goes right from 1BC to 1AD). However if you say "+0 years" that means the same thing as "today".
Comment #2
quicksketchI'm having trouble reproducing this problem. It looks like our date interpretation may differ based on the version of PHP you're running. In general it looks like PHP 5.2+ should work better. The date handling in older versions of PHP is pretty shaky. Which version are you running?
Comment #3
agence web coheractio commentedI am running php 5.2.13 with a memory_limit of 256M.
Perhaps we could simply prevent setting 0 as end date.
Comment #4
danchadwick commentedIf this is still a problem in the lastest 7.x-4.x, please re-open.