Skip to content
This repository has been archived by the owner on Mar 2, 2024. It is now read-only.

Commit

Permalink
bug fix: updateTime spec don't correspond
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhongYic00 committed Jan 25, 2021
1 parent ed5f95f commit ad64dff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
cp /home/zyc/Github/StickyNotes-build/build-StickyNotes-unknown-Release/StickyNotes /home/zyc/Github/DTKstickyNotes/build/opt/apps/DTKstickyNotes/bin/
VERSION=0.0.4-beta.1
VERSION=0.0.5-beta
dpkg -b build/ DTKstickyNotes-$VERSION-amd64.deb
2 changes: 1 addition & 1 deletion znote.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ ZNote::ZNote(const QJsonObject& obj)
// qDebug()<<obj;
//if (obj.contains("createTime") && obj.contains("updateTime") && obj.contains("html") && obj.contains("abstract")) {
createTime = QDateTime::fromString(obj["createTime"].toString());
updateTime = QDateTime::fromString(obj["updateTime"].toString());
updateTime = QDateTime::fromString(obj["updateTime"].toString(), Qt::ISODateWithMs);
html = obj["html"].toString();
abstract = obj["abstract"].toString();
//}
Expand Down

0 comments on commit ad64dff

Please sign in to comment.