📝 N°2793 log rotation add PHPDoc about timezones

This commit is contained in:
Pierre Goiffon
2020-03-04 14:23:34 +01:00
parent c06f8e9a98
commit eadc3b72c2

View File

@@ -240,6 +240,8 @@ abstract class RotatingLogFileNameBuilder implements iLogFileNameBuilder
}
/**
* **Warning :** both DateTime params must have the same timezone set ! Should use the iTop timezone ('timezone' config parameter)
*
* @param DateTime $oLogFileLastModified date when the log file was last modified
* @param DateTime $oNow date/time of the log we want to write
*