? Pending

User tests: Successful: Unsuccessful:

avatar laoneo
laoneo
8 May 2017

Move JDate to namespace. I had to change the order of the include files, because JError::setErrorHandling adds a log entry where the date class is needed.

avatar laoneo laoneo - open - 8 May 2017
avatar laoneo laoneo - change - 8 May 2017
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 8 May 2017
Category Administration Libraries
avatar wilsonge
wilsonge - comment - 8 May 2017

Is there a reason JLog needs to use a JDate object rather than a native DateTime (unsure given something has to change whether that's a better one than changing the loader order)

Just because the biggest reason for JDate is the ability to localise in the user's timezone. but clearly for logging that's not an issue.

avatar mbabker
mbabker - comment - 8 May 2017

No there's no need but in theory you're fighting B/C arguments if you make it a plain \DateTime object by default (the formatted text logger uses the toISO8601 method on our class which isn't in the parent).

avatar laoneo
laoneo - comment - 9 May 2017
avatar laoneo laoneo - change - 24 May 2017
Labels Added: ?
avatar wilsonge wilsonge - change - 25 May 2017
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2017-05-25 10:24:18
Closed_By wilsonge
avatar wilsonge wilsonge - close - 25 May 2017
avatar wilsonge wilsonge - merge - 25 May 2017

Add a Comment

Login with GitHub to post a comment