TimeSpan.Add(TimeSpan) is ignoring seconds

前端 未结 0 670
灰色年华
灰色年华 2021-02-14 12:03
var previous = timeManagementEntry.TimeLogged; // 00:00:00
var adding = entry.TimeLogged; // 00:45:18
timeManagementEntry.TimeLogged = previous.Add(adding); // 00:45:00
         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题