Commit 8a2aa43f authored by Alexandre Fernandez's avatar Alexandre Fernandez Committed by Hugo Beauzée-Luyssen

Media: Use std::time_t to store timestamp

Signed-off-by: Hugo Beauzée-Luyssen's avatarHugo Beauzée-Luyssen <>
parent 8c3d5721
......@@ -264,7 +264,7 @@ const std::string &Media::thumbnail()
unsigned int Media::insertionDate() const
return m_insertionDate;
return static_cast<unsigned int>( m_insertionDate );
unsigned int Media::releaseDate() const
......@@ -155,8 +155,8 @@ private:
SubType m_subType;
int64_t m_duration;
unsigned int m_playCount;
unsigned int m_lastPlayedDate;
unsigned int m_insertionDate;
std::time_t m_lastPlayedDate;
std::time_t m_insertionDate;
unsigned int m_releaseDate;
std::string m_thumbnail;
std::string m_title;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment