This commit is contained in:
@@ -636,8 +636,12 @@ namespace Volian.Print.Library
|
||||
case "{OF}": // Total Page Count for this section
|
||||
return CurrentPageOf.ToString();
|
||||
case "{REVDATE}": // Revision Date
|
||||
if (RevDate == null || RevDate == "") return DateTime.Now.ToShortDateString();
|
||||
return RevDate;
|
||||
case "{REV}": // Revision Number
|
||||
// 16-bit had very specific code to check for first character
|
||||
// == to a ' ' (space) and if so, start Rev from second character.
|
||||
if (Rev !=null && Rev != "" && Rev[0] == ' ') return Rev.Substring(1, Rev.Length - 1);
|
||||
return Rev;
|
||||
}
|
||||
if (!_MissingTokens.Contains(match.Value))
|
||||
|
Reference in New Issue
Block a user