forked from luna/vim-rana-local
fix #9 replace comma with period when serializing time float
This commit is contained in:
parent
b91f1c9bfc
commit
2a2f532d19
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ let s:VERSION = '1.2.3'
|
|||
if targetFile != ''
|
||||
let cmd = ['python', s:plugin_directory . 'packages/wakatime/wakatime-cli.py']
|
||||
let cmd = cmd + ['--file', shellescape(targetFile)]
|
||||
let cmd = cmd + ['--time', printf('%f', a:time)]
|
||||
let cmd = cmd + ['--time', substitute(printf('%f', a:time), ',', '.', '')]
|
||||
let cmd = cmd + ['--plugin', printf('vim-wakatime/%s', s:VERSION)]
|
||||
if a:is_write
|
||||
let cmd = cmd + ['--write']
|
||||
|
|
Loading…
Reference in a new issue