Closed (fixed)
Project:
Template Field Variables
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Mar 2013 at 14:43 UTC
Updated:
30 Jan 2015 at 05:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
lanny heidbreder commentedI just realized that it's not only when the field is hidden; it also happens when the field is shown, but the format is set to Plain.
Comment #2
ambaum2 commentedI'm having problems with this too. It just clutters up the log since users often like to hide fields and I don't want to have to monitor that.
I think just setting $date_format variable to an empty string if no format type is found would be fine. The format method in DateTime http://php.net/manual/en/class.datetime.php ignores empty strings so this change should be fine.
Comment #3
Jaza commentedComment #5
Jaza commentedThanks - committed! Have released 7.x-1.24 with this fix.