Ticket #40470

ログ種別を「経過時間」にするとタイムスタンプのmsが4桁になる

Open Date: 2020-06-08 15:30 Last Update: 2020-06-11 19:53

Reporter:
(Anonymous)
Owner:
Type:
Status:
Open [Owner assigned]
Component:
MileStone:
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
Fixed
File:
None
Vote
Score: 0
No votes
0.0% (0/0)
0.0% (0/0)

Details

ログ種別を「経過時間(Logging/Connection)」にするとタイムスタンプのmsが4桁になる(4桁の最上位は常に0)。 因みに、「ローカルタイム」や「UTC」の場合は正しく3桁になっている。

Ticket History (3/4 Histories)

2020-06-08 15:30 Updated by: None
  • New Ticket "ログ種別を「経過時間」にするとタイムスタンプのmsが4桁になる" created
2020-06-08 15:55 Updated by: None
Comment

strelapsed()中の

_snprintf_s(strtime, sizeof(strtime), _TRUNCATE, "%d %02d:%02d:%02d.%04d",


_snprintf_s(strtime, sizeof(strtime), _TRUNCATE, "%d %02d:%02d:%02d.%03d",

に変更すれば直りそうです。

2020-06-08 17:54 Updated by: doda
  • Owner Update from (None) to doda
  • Resolution Update from None to Accepted
  • Milestone Update from (None) to Tera Term 4.106
  • Component Update from (None) to Tera Term
2020-06-11 19:53 Updated by: doda
  • Resolution Update from Accepted to Fixed
  • Severity Update from 1 - Lowest to 5 - Medium
  • Priority Update from 1 - Lowest to 5 - Medium
Comment

r8793, r8794 で修正

Attachment File List

No attachments

Edit

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Login