mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-04-20 16:09:51 +02:00
lib/rdfeed.cpp MySQL v5.7+ date/time null changes
Fixed in setX rather than Row as these are converted to QString before the DB
This commit is contained in:
parent
e98a915f90
commit
1cf11af447
@ -320,7 +320,7 @@ QDateTime RDFeed::lastBuildDateTime() const
|
||||
|
||||
void RDFeed::setLastBuildDateTime(const QDateTime &datetime) const
|
||||
{
|
||||
SetRow("LAST_BUILD_DATETIME",datetime.toString("yyyy-MM-dd hh:mm:ss"));
|
||||
SetRow("LAST_BUILD_DATETIME",RDCheckDateTime(datetime,"yyyy-MM-dd hh:mm:ss"));
|
||||
}
|
||||
|
||||
|
||||
@ -333,7 +333,7 @@ QDateTime RDFeed::originDateTime() const
|
||||
|
||||
void RDFeed::setOriginDateTime(const QDateTime &datetime) const
|
||||
{
|
||||
SetRow("ORIGIN_DATETIME",datetime.toString("yyyy-MM-dd hh:mm:ss"));
|
||||
SetRow("ORIGIN_DATETIME",RDCheckDateTime(datetime,"yyyy-MM-dd hh:mm:ss"));
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user