diff options
author | Teddy Wing | 2017-06-03 18:34:13 +0200 |
---|---|---|
committer | Teddy Wing | 2017-06-03 18:34:13 +0200 |
commit | 67382c885158911ab952ca1727f5b5adeadc5e50 (patch) | |
tree | 241cd625d36526fdd94a7748c8926700173cb273 | |
parent | 570118505bc765feda76ddcdcaef3fa0d181ec6b (diff) | |
parent | 6d138ee3c53913ef63565f66fed1b79d339b3230 (diff) | |
download | timetasker-67382c885158911ab952ca1727f5b5adeadc5e50.tar.bz2 |
Merge branch 'fix-time-format-bug' into timetasker-daily
-rw-r--r-- | timetask/http.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/timetask/http.go b/timetask/http.go index f236665..8c41b4f 100644 --- a/timetask/http.go +++ b/timetask/http.go @@ -99,7 +99,7 @@ func buildSubmissionParams(time_entry TimeEntry) url.Values { ) time_str := strconv.FormatFloat(time_entry.Time, 'f', 2, 64) - time_european_format := strings.Replace(time_str, ".", ",", 0) + time_european_format := strings.Replace(time_str, ".", ",", -1) v.Set( "f_time0", time_european_format, |