You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I agree about changing the other Period/* files. This syntax matches that of Date.php so for consistency it seems worth adding.
The use case is, I have a downstream data provider that is being merged into a plugin, and it requires a specific date format with a different delimiter.
I can make the change and check in; should I attach Patch files here or do it in SVN?
Period.php, Day.php, and Range.php have toString() methods, so I have updated those.
Week.php, Month.php, and Year.php do not have a toString() method, so I have not changed those in this fix.
The toString() method is hard-coded to "Y-m-d" format. It should accept an override with a default parameter of Y-m-d for backwards compatibility.
The text was updated successfully, but these errors were encountered: