-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow creation of DateTime objects from CPAN DateTime objects #1993
Comments
Is permitted. |
Please add a comment that it is allowed for K::S::DT |
as a constructor parameter to Kernel::System::DateTime.
Renamed the secret parameter |
Reopening. Currently the passed in CPANDateTime is simple stored as the internal object. But this allows action at a distance, which is usually not expected. TODO:
|
Changing the source object should not affect the target object.
For avoiding potetial action at a distance.
Cloned the passed in CPANDateTime object and did some cleanup. Tests look fine. Closing this issue again. |
In OTOBO 10.1 there is a kind of secret possibility to create instances of
Kernel::System::DateTime
by passing aDateTime
object via the parameter_CPANDateTimeObject
. This approach should be made official for OTOBO 11.0.The text was updated successfully, but these errors were encountered: