|
@@ -62,11 +62,13 @@ class LemmaObject {
|
62
|
62
|
* all external classes that might need to be serialized.
|
63
|
63
|
*/
|
64
|
64
|
virtual YAML::Node Serialize() const {
|
65
|
|
- std::cout.precision( 21 );
|
|
65
|
+ std::cout.precision( 20 );
|
66
|
66
|
YAML::Node node = YAML::Node();
|
67
|
67
|
node.SetTag( GetName() );
|
68
|
68
|
std::time_t now = std::chrono::system_clock::to_time_t( std::chrono::system_clock::now() );
|
69
|
|
- node["Serialized"] = std::ctime(&now);
|
|
69
|
+ std::string ser_time = std::string( std::ctime(&now) );
|
|
70
|
+ ser_time.pop_back();
|
|
71
|
+ node["Serialized"] = ser_time;
|
70
|
72
|
node["Lemma_VERSION"] = LEMMA_VERSION;
|
71
|
73
|
return node;
|
72
|
74
|
};
|