简体   繁体   中英

How to customize svn date format

I want to use $Date$ for the autoset property during check-in, but want to have a means to modify its format. I just need to include the year information.

$Date: 2015-06-05 00:49:43 -0700 (Fri, 05 Jun 2015) $:

Can this be done through svn settings, or a custom property.

$Date: 2015 $

Using custom keywords you can choose to use short format of date with %d format code. There is no format code for year only.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM