Mantis Bugtracker          
testlink.org

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008508TestLinkLocalizationpublic2018-12-17 12:222018-12-17 20:53
Reportermulticode 
Assigned Tofman 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version1.9.18 (2018 Q3) 
Fixed in Version1.9.19 (2019 Q1) 
Summary0008508: Incorrect date components separator for Russian localization
DescriptionCorrect date components separator for Russian localization is ".", not "/" (see https://en.wikipedia.org/wiki/Date_format_by_country [^]).
Steps To Reproduce1. Choose Locale "Russian" for current user with admin rights.
2. Go to Test Cases created per User.
3. Dates like "17/12/2018" (should be "17.12.2018").
Additional InformationProblem solved as follows:

1. Separator was changed in \cfg\const.inc.php:
"'ru_RU' => '%d/%m/%Y'" should be replaced by "'ru_RU' => '%d.%m.%Y'"
"'ru_RU' => '%d/%m/%Y %H:%M:%S'" should be replaced by "'ru_RU' => '%d.%m.%Y %H:%M:%S'"

2. Test case search was fixed in lib\results\tcCreatedPerUserOnTestProject.php:
$validFormat = '#^[0-9]{1,2}/[0-9]{1,2}/[0-9]{4}$#';
should be replaced by
$validFormat = '#^[0-9]{1,2}[./][0-9]{1,2}[./][0-9]{4}$#';
TagsNo tags attached.
Database (MySQL,Postgres,etc)MySQL
Browser
PHP Version
TestCaseID
QA Team - Task Workflow StatusREADY FOR TESTING
Attached Files? file icon const.inc.php [^] (37,107 bytes) 2018-12-17 12:22
? file icon tcCreatedPerUserOnTestProject.php [^] (12,598 bytes) 2018-12-17 12:23

- Relationships
child of 0008397assignedfman Availables hot-fixes for 1.9.18 & How To get full fixed package from GitHub 

-  Notes
(0028331)
fman (administrator)
2018-12-17 20:51

thanks for your contribution

https://github.com/TestLinkOpenSourceTRMS/testlink-code/commit/c9f062ffc068a8ed8effd5817726d13b108c1c3f [^]

- Issue History
Date Modified Username Field Change
2018-12-17 12:22 multicode New Issue
2018-12-17 12:22 multicode File Added: const.inc.php
2018-12-17 12:23 multicode File Added: tcCreatedPerUserOnTestProject.php
2018-12-17 20:51 fman Note Added: 0028331
2018-12-17 20:52 fman QA Team - Task Workflow Status => TBD
2018-12-17 20:52 fman Product Version => 1.9.18 (2018 Q3)
2018-12-17 20:52 fman Fixed in Version => 1.9.19 (2019 Q1)
2018-12-17 20:52 fman QA Team - Task Workflow Status TBD => READY FOR TESTING
2018-12-17 20:52 fman Status new => resolved
2018-12-17 20:52 fman Resolution open => fixed
2018-12-17 20:52 fman Assigned To => fman
2018-12-17 20:53 fman Relationship added child of 0008397



Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker