vim latex template has file creation/modification time issue

2017-05-19 16:25:51

I'm using vim-latex on Linux, and I have an issue with the article template: it seems that creation and modification times in the first few lines of the file are stuck at the time of first creation, with the hour rounded to 0 mins, e.g. if I create a file at 10,40am then both those lines will always stay at 10,00am and won't change.

Is there a way to fix this?

This is the standard article template that I'm using, as provided by the program (the first two spacings at the very beginning are tabs, which are not rendered by, and it seems wrong, as both lines are the same, and I can see the :00, so how to fix it?

<+ +> !comp! !exe!

% File: !comp!expand("%:p:t")!comp!

% Created: !comp!strftime("%a %b %d %I:00 %p %Y ").substitute(strftime('%Z'), '\<\(\w\)\(\w*\)\>\(\W\|$\)', '\1', 'g')!comp!

% Last Change: !comp!strftime("%a %b %d %I:00 %p %Y ").substitute(strftime('%Z'), '\<\(\w\)\(\w*\)\>\(\W\|$\)', '\1', 'g')!comp!