Actions
Patch #41313
closedFix test/unit/issue_test.rb to use correct IANA timezone name "Asia/Hong_Kong" instead of deprecated "Hongkong"
Description
I am working on updating the Debian package of Redmine. As part of that work, I noticed that test/unit/issue_test.rb
produces the following failure:
Failure:
IssueTest#test_issue_overdue_should_respect_user_timezone [/<<PKGBUILDDIR>>/test/unit/issue_test.rb:3410]:
Expected false to be truthy.
rails test test/unit/issue_test.rb:3388
The root of this problem is that this test uses the Hongkong
, which Debian no longer resolves to Asia/Hong_Kong
. The attached patch fixes this problem by using Asia/Hong_Kong
directly.
Files
Updated by Go MAEDA 3 months ago
- Subject changed from test/unit/issue_test.rb uses outdated timezone format to Fix test/unit/issue_test.rb to use correct IANA timezone name "Asia/Hong_Kong" instead of deprecated "Hongkong"
- Status changed from New to Resolved
- Assignee set to Go MAEDA
- Target version changed from 6.0.0 to 5.0.10
Committed the patch in r23079. Thank you.
Actions