WojciechRynczuk / vcdMaker

A tool for converting text log files to the VCD format.
https://vcdmaker.org
MIT License
29 stars 2 forks source link

Current time & date #42

Closed WojciechRynczuk closed 6 years ago

WojciechRynczuk commented 6 years ago

The VCD output file will contain a valid creation time & data.

Creating an elegant cross-platform time&date output is a pain. VS allows for using ctime_s() (not a part of C++11 standard but C11) while it complains about ctime(). g++ is more fastidious and does not allow for any deviations from a standard. Anyway the solution works for both platforms and seems optimal.

endrjux commented 6 years ago

It seems part of code here is from another pull request. What happened?

WojciechRynczuk commented 6 years ago

Yes, it seems some code from another pull request has been pulled here as well. Maybe because I created two simultaneous pull requests? I have no idea.