aboutsummaryrefslogtreecommitdiff
path: root/src/db.cpp
diff options
context:
space:
mode:
authorCara Salter <cara@devcara.com>2023-04-15 15:09:01 -0400
committerCara Salter <cara@devcara.com>2023-04-15 15:09:01 -0400
commita03540d61ed913b78f7c02f8b695fd69eea3e217 (patch)
tree7029841cee6b649b5ca192cd549b316dacfa24a9 /src/db.cpp
parentac4a926685c754f4af5adb20edf6eb23e2a0f18a (diff)
download142bot-spotify.tar.gz
142bot-spotify.zip
Finish spotifyspotify
for now Change-Id: I77c7d319ddf37c7259f4de89567f9a6719f88796
Diffstat (limited to 'src/db.cpp')
-rw-r--r--src/db.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/db.cpp b/src/db.cpp
index 73a7f02..120c9d4 100644
--- a/src/db.cpp
+++ b/src/db.cpp
@@ -106,13 +106,13 @@ namespace asdf
bool from_iso8601_str( const std::string& s, timestamp& ts )
{
std::istringstream stream{ s };
- stream >> date::parse( "%F %T%z", ts );
+ stream >> date::parse( "%F %T", ts );
return !stream.fail();
}
std::string to_iso8601_str( const timestamp& ts )
{
- return date::format( "%F %T%z", ts );
+ return date::format( "%F %T", ts );
}
std::string to_http_ts_str( const timestamp& ts )