projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed date format for a subgroup report.
[timetracker.git]
/
WEB-INF
/
lib
/
form
/
FloatField.class.php
diff --git
a/WEB-INF/lib/form/FloatField.class.php
b/WEB-INF/lib/form/FloatField.class.php
index
b11f4a1
..
5b93975
100644
(file)
--- a/
WEB-INF/lib/form/FloatField.class.php
+++ b/
WEB-INF/lib/form/FloatField.class.php
@@
-33,13
+33,16
@@
class FloatField extends TextField {
var $mFFormat;
function __construct($name) {
var $mFFormat;
function __construct($name) {
+ global $user;
+
$this->class = 'FloatField';
$this->name = $name;
$this->class = 'FloatField';
$this->name = $name;
+ $this->mDelimiter = $user->getDecimalMark();
}
}
- function localize(
$i18n
) {
+ function localize() {
global $user;
global $user;
- $this->mDelimiter = $user->
decimal_mark
;
+ $this->mDelimiter = $user->
getDecimalMark()
;
}
function setFormat($format) {
}
function setFormat($format) {