Skip to content
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

TimeStamp2SystemTime() does not honor the time zone in the string #388

Closed
bschmalhofer opened this issue Aug 22, 2020 · 2 comments
Closed
Assignees
Labels
bug Something isn't working as intended
Milestone

Comments

@bschmalhofer
Copy link
Contributor

This problem is in both modules, Kernel::System::Time and Kernel::System::DateTime. The tests are strange for cases like 2005-10-20T10:00:00Z . The implementation looks correct for Kernel::System::DateTime::_String2Hash().

@bschmalhofer bschmalhofer added the bug Something isn't working as intended label Aug 22, 2020
@bschmalhofer bschmalhofer added this to the OTOBO 10.1 milestone Aug 22, 2020
bschmalhofer added a commit that referenced this issue Aug 24, 2020
bschmalhofer added a commit that referenced this issue Aug 24, 2020
for WorkingTime() and TimeStamp2SystemTime()
bschmalhofer added a commit that referenced this issue Aug 25, 2020
bschmalhofer added a commit that referenced this issue Aug 25, 2020
@bschmalhofer
Copy link
Contributor Author

See also #391 .

bschmalhofer added a commit that referenced this issue Aug 25, 2020
Issue #388: explicit check for 'Z' in _StringToHash()
@bschmalhofer
Copy link
Contributor Author

Added support for Z and for offsets. Tests look fine. Closing the issue.

@bschmalhofer bschmalhofer self-assigned this Nov 28, 2021
@bschmalhofer bschmalhofer modified the milestones: OTOBO 10.1, OTOBO 10.1.1 Nov 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working as intended
Projects
None yet
Development

No branches or pull requests

1 participant