These functions assume a specific format for the timestamp, in particular 3 letters for the day. Depending on the locale this may not work. A simple solution is setting the locale for dates in vimrc:
language time C
To change this in the code, some regular expressions need to be changed and the code that selects the hours and minutes from a string must be made locale-independent.
These functions assume a specific format for the timestamp, in particular 3 letters for the day. Depending on the locale this may not work. A simple solution is setting the locale for dates in vimrc:
To change this in the code, some regular expressions need to be changed and the code that selects the hours and minutes from a string must be made locale-independent.