diff --git a/cockatrice/cockatrice.qrc b/cockatrice/cockatrice.qrc index 6fe1289c..2d147bcf 100644 --- a/cockatrice/cockatrice.qrc +++ b/cockatrice/cockatrice.qrc @@ -351,10 +351,10 @@ resources/tips/images/cockatrice_wiki.png resources/tips/images/coin_flip.png resources/tips/images/counter_expression.png + resources/tips/images/discord.png resources/tips/images/face_down.png resources/tips/images/filter_games.png resources/tips/images/github_logo.png - resources/tips/images/gitter.png resources/tips/images/setpt.png resources/tips/images/shortcuts.png resources/tips/images/themes.png diff --git a/cockatrice/resources/tips/images/discord.png b/cockatrice/resources/tips/images/discord.png new file mode 100644 index 00000000..4cf1e83d Binary files /dev/null and b/cockatrice/resources/tips/images/discord.png differ diff --git a/cockatrice/resources/tips/images/gitter.png b/cockatrice/resources/tips/images/gitter.png deleted file mode 100644 index 54e806d1..00000000 Binary files a/cockatrice/resources/tips/images/gitter.png and /dev/null differ diff --git a/cockatrice/resources/tips/tips_of_the_day.xml b/cockatrice/resources/tips/tips_of_the_day.xml index 786391c9..32afea37 100644 --- a/cockatrice/resources/tips/tips_of_the_day.xml +++ b/cockatrice/resources/tips/tips_of_the_day.xml @@ -7,9 +7,9 @@ Suggesting New Tips - You can suggest new Tips of the Day by reaching out to the development team on <a href="https://gitter.im/cockatrice/cockatrice">Gitter</a>! - gitter.png - 2018-03-01 + You can suggest new Tips of the Day by reaching out to the development team on <a href="https://discord.gg/3Z9yzmA">Discord</a>! + discord.png + 2023-10-18 Reporting Bugs diff --git a/cockatrice/src/dlg_tip_of_the_day.cpp b/cockatrice/src/dlg_tip_of_the_day.cpp index a9716e64..e8a87d62 100644 --- a/cockatrice/src/dlg_tip_of_the_day.cpp +++ b/cockatrice/src/dlg_tip_of_the_day.cpp @@ -154,7 +154,7 @@ void DlgTipOfTheDay::updateTip(int tipId) imageLabel->setPixmap(image->scaled(w, h, Qt::KeepAspectRatio, Qt::SmoothTransformation)); } - date->setText("Tip added on: " + tip.getDate().toString("yyyy.MM.dd") + ""); + date->setText("Tip added on: " + tip.getDate().toString("yyyy-MM-dd") + ""); tipNumber->setText("Tip " + QString::number(tipId + 1) + " / " + QString::number(tipDatabase->rowCount()));