Closed Grinnz closed 6 years ago
If this issue is fixed, #36 should theoretically not cause any problems, but that should still be fixed IMO as the copy constructor should never modify the object it is copying.
Thanks for these! I will take a look in the next week or two, out of town at the moment.
This was a good catch, thank you!
When Time::Piece->new($obj) is called on a UTC Time::Piece object, it would be passed unconditionally to localtime, resulting in the wrong time being set in the copy.