X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FUtils%2FDate.php;h=74a450db7876875fab484533487245425bd20f8e;hb=7b99ead305123c7575da2e162e3bc204981c8bc9;hp=6f0a311c0a70b3f8c19e7c732c85c27f1c77e383;hpb=61101c0139a33917f1220f3e970b7c1293f34449;p=civicrm-core.git diff --git a/CRM/Utils/Date.php b/CRM/Utils/Date.php index 6f0a311c0a..74a450db78 100644 --- a/CRM/Utils/Date.php +++ b/CRM/Utils/Date.php @@ -463,6 +463,9 @@ class CRM_Utils_Date { /** * converts the date/datetime from ISO format to MySQL format + * Note that until CRM-14986/ 4.4.7 this was required whenever the pattern $dao->find(TRUE): $dao->save(); was + * used to update an object with a date field was used. The DAO now checks for a '-' in date field strings + * & runs this function if the - appears - meaning it is likely redundant in the form & BAO layers * * @param string $iso date/datetime in ISO format *