Compare commits

...

3 Commits

Author SHA1 Message Date
Kornel Benko
5d91fb81f9 URL Tests: add some only manually accessible urls 2024-10-19 14:42:44 +02:00
Kornel Benko
affbf6ddc1 Address the url of package in www.ctan.org instead of directory in
mirrors.ctan.org
2024-10-19 13:18:41 +02:00
Juergen Spitzmueller
4d51a05ce4 Address Qt 6.7 deprecation warning
See https://doc.qt.io/qt-6.7/qdatetime-obsolete.html#setTimeSpec
2024-10-19 09:59:37 +02:00
4 changed files with 20 additions and 3 deletions

View File

@ -1,3 +1,14 @@
# OK urls with firefox, but checking with our test leads to
# 403 Forbidden
https://journals.aps.org/PACS
https://journals.aps.org/revtex
https://www.worldscientific.com/page/ijmpd/submission-guidelines
https://www.worldscientific.com/page/ijmpc/submission-guidelines
# OK urls with firefox, but checking with our test leads to
# SSL connect attempt failed error:0A00018A:SSL routines::dh key too small
https://texample.net/media/tikz/examples/TEX/free-body-diagrams.tex
# Urls probably exist, but to check
# we need to register and login first
http://www.issn.org/en/node/344
@ -10,7 +21,6 @@ http://jasa.peerx-press.org/html/jasa/Using_LaTeX
http://spie.org/app/Publications/index.cfm?fuseaction=authinfo&type=proceedings
http://www.jstatsoft.org/downloads/JSSstyle.zip
http://www.photogrammetry.ethz.ch/tarasp_workshop/isprs.cls
https://journals.aps.org/revtex
# The following ftp url is correct, but
# ftp commands like 'dir', 'get' do not work.

View File

@ -118,7 +118,7 @@ status open
\begin_layout Plain Layout
https://mirrors.ctan.org/macros/latex/contrib/europasscv
https://www.ctan.org/tex-archive/macros/latex/contrib/europasscv
\end_layout
\end_inset

View File

@ -127,7 +127,7 @@ status open
\begin_layout Plain Layout
https://mirrors.ctan.org/macros/latex/contrib/europasscv
https://www.ctan.org/tex-archive/macros/latex/contrib/europasscv
\end_layout
\end_inset

View File

@ -19,6 +19,9 @@
#include <QDateTime>
#include <QLocale>
#if (QT_VERSION >= QT_VERSION_CHECK(6, 7, 0))
#include <QTimeZone>
#endif
using namespace std;
@ -69,7 +72,11 @@ time_t from_asctime_utc(string t)
<< "´ (invalid format)");
return static_cast<time_t>(-1);
}
#if (QT_VERSION >= QT_VERSION_CHECK(6, 7, 0))
loc_dt.setTimeZone(QTimeZone(QTimeZone::UTC));
#else
loc_dt.setTimeSpec(Qt::UTC);
#endif
#if (QT_VERSION >= QT_VERSION_CHECK(5, 8, 0))
return loc_dt.toSecsSinceEpoch();
#else