FileHeader icon indicating copy to clipboard operation
FileHeader copied to clipboard

C++ head Template DO NOT work well

Open selfboot opened this issue 8 years ago • 0 comments

My template is just like the followings:

 /*
 * @Date:   {{create_time}}
 * @Last Modified time: {{last_modified_time}}
 */

When save XXX.cpp after do some modification, the modified time does not change as I wish.

PS:

  1. Python head with @Last Modified time works well.
  2. Change the C++ templates as follows:
/*
 * @Date:   {{create_time}}
 * @Last Modified time: {{last_modified_time}}
 */

can also updates modified time, but have some dirty datas, for example:

 /*
 * @Date:   2016-03-26 12:01:15
 * @Last Modified time: 2 2016-03-26 12:06:33
 */

selfboot avatar Mar 26 '16 04:03 selfboot