[Ttssh2-commit] [6795] LogTimestampFormat を RFC 3339 っぽくなるよう修正

Zurück zum Archiv-Index

svnno****@sourc***** svnno****@sourc*****
2017年 6月 10日 (土) 12:05:43 JST


Revision: 6795
          http://sourceforge.jp/projects/ttssh2/scm/svn/commits/6795
Author:   maya
Date:     2017-06-10 12:05:42 +0900 (Sat, 10 Jun 2017)
Log Message:
-----------
LogTimestampFormat を RFC 3339 っぽくなるよう修正

Modified Paths:
--------------
    trunk/installer/release/TERATERM.INI
    trunk/teraterm/ttpset/ttset.c

-------------- next part --------------
Modified: trunk/installer/release/TERATERM.INI
===================================================================
--- trunk/installer/release/TERATERM.INI	2017-06-10 00:12:44 UTC (rev 6794)
+++ trunk/installer/release/TERATERM.INI	2017-06-10 03:05:42 UTC (rev 6795)
@@ -539,9 +539,9 @@
 LockTUID=on
 
 ; Timestamp format of Log each line
-;   %a %b %e %H:%M:%S.%N %Y ... Sun Jun  4 21:12:40.123 JST 2017
-;   %Y/%m/%d %H:%M:%S.%N    ... 2017/06/04 21:12:40.123
-LogTimestampFormat=%a %b %e %H:%M:%S.%N %Y
+;   %Y-%m-%d %H:%M:%S.%N    ... 2017-06-04 21:12:40.123
+;   %a %b %e %H:%M:%S.%N %Y ... Sun Jun  4 21:12:40.123 2017
+LogTimestampFormat=%Y-%m-%d %H:%M:%S.%N
 
 ; Use UTC/GMT time for Log each line timestamp
 LogTimestampUTC=off

Modified: trunk/teraterm/ttpset/ttset.c
===================================================================
--- trunk/teraterm/ttpset/ttset.c	2017-06-10 00:12:44 UTC (rev 6794)
+++ trunk/teraterm/ttpset/ttset.c	2017-06-10 03:05:42 UTC (rev 6795)
@@ -1057,7 +1057,7 @@
 	ts->LogAllBuffIncludedInFirst = GetOnOff(Section, "LogIncludeScreenBuffer", FName, FALSE);
 
 	/* Timestamp format of Log each line */
-	GetPrivateProfileString(Section, "LogTimestampFormat", "%a %b %e %H:%M:%S.%N %Y",
+	GetPrivateProfileString(Section, "LogTimestampFormat", "%Y-%m-%d %H:%M:%S.%N",
 	                        ts->LogTimestampFormat, sizeof(ts->LogTimestampFormat),
 	                        FName);
 



Ttssh2-commit メーリングリストの案内
Zurück zum Archiv-Index