aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2018-01-22 22:07:14 +0100
committerTeddy Wing2018-01-22 22:07:14 +0100
commit44ae48931227fba274a3d2fea3742947987950f0 (patch)
tree53c3738e8dffa8045fc68eccb33747b696a4944a
parentb31561487edb3df5241f4999a26edbcbae6e0717 (diff)
parentd72ad5c7264d3b31b8cbe67bd09feaec5c4f7eed (diff)
downloadtimetasker-44ae48931227fba274a3d2fea3742947987950f0.tar.bz2
Merge branch 'change-field-format-to-US-localisation'
-rw-r--r--timetask/http.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/timetask/http.go b/timetask/http.go
index 7f5cc18..c3b48dc 100644
--- a/timetask/http.go
+++ b/timetask/http.go
@@ -117,14 +117,13 @@ func buildSubmissionParams(time_entry TimeEntry) url.Values {
v.Set(
"f_date0",
- time_entry.Date.Format("02/01/06"), // day/month/year
+ time_entry.Date.Format("01/02/06"), // month/day/year
)
time_str := strconv.FormatFloat(time_entry.Time, 'f', 2, 64)
- time_european_format := strings.Replace(time_str, ".", ",", -1)
v.Set(
"f_time0",
- time_european_format,
+ time_str,
)
var billable string