replace comma with period anywhere a float gets converted to a string

This commit is contained in:
Alan Hamlett 2013-11-13 10:15:50 -08:00
parent 2a2f532d19
commit a7fa999666

View file

@ -105,7 +105,7 @@ let s:VERSION = '1.2.3'
function! s:SetLastAction(time, last_update, targetFile) function! s:SetLastAction(time, last_update, targetFile)
let s:fresh = 0 let s:fresh = 0
call writefile([printf('%f', a:time), printf('%f', a:last_update), a:targetFile], expand("$HOME/.wakatime.data")) call writefile([substitute(printf('%f', a:time), ',', '.', ''), substitute(printf('%f', a:last_update), ',', '.', ''), a:targetFile], expand("$HOME/.wakatime.data"))
endfunction endfunction
function! s:GetChar() function! s:GetChar()