Feature #35822
closedImplement method to convert integer to version number
100%
Description
The class t3lib_utility_VersionNumber in file t3lib/utility/class.t3lib_utility_versionnumber.php
contains a method to convert version numbers to integer values (e.g. "4.12.3" to 4012003) but not the other way round.
I propose to implement an additional method to allow developers to convert integer values to version numbers, so the integer 4012003 would be converted to "4.12.3" as a string.
Please find my suggestion attached (updated file "class.t3lib_utility_versionnumber.php" and the patch).
Files
Updated by Michael Schams over 12 years ago
Updated by Markus Klein over 12 years ago
- Assignee deleted (
Susanne Moog)
I'll push this patch to gerrit for you.
Updated by Gerrit Code Review over 12 years ago
- Status changed from New to Under Review
Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/10210
Updated by Gerrit Code Review over 12 years ago
Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/10210
Updated by Gerrit Code Review over 12 years ago
Patch set 3 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/10210
Updated by Gerrit Code Review over 12 years ago
Patch set 4 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/10210
Updated by Gerrit Code Review over 12 years ago
Patch set 5 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/10210
Updated by Gerrit Code Review over 12 years ago
Patch set 6 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/10210
Updated by Michael Schams over 12 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 1c19e461645f917d1129f7cb94498a4df5a2c091.
Updated by Gerrit Code Review over 12 years ago
- Status changed from Resolved to Under Review
Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/10289
Updated by Steffen Ritter over 12 years ago
- TYPO3 Version changed from 4.7 to 6.0
Updated by Susanne Moog over 12 years ago
- Status changed from Under Review to Resolved