Skip to content

Commit

Permalink
add more dt formats #1478
Browse files Browse the repository at this point in the history
  • Loading branch information
martinrotter committed Aug 20, 2024
1 parent 683fa89 commit 5788f89
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/librssguard/miscellaneous/textfactory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ QDateTime TextFactory::parseDateTime(const QString& date_time, QString* used_dt_
QString input_date = date_time.simplified()
.replace(QSL("GMT"), QSL("+0000"))
.replace(QSL("UTC"), QSL("+0000"))
.replace(QSL("UT"), QSL("+0000"))
.replace(QSL("EDT"), QSL("-0400"))
.replace(QSL("EST"), QSL("-0500"))
.replace(QSL("PDT"), QSL("-0700"))
Expand Down Expand Up @@ -168,6 +169,7 @@ QStringList TextFactory::dateTimePatterns(bool with_tzs) {
pat << QSL("dd MMM yyyy");

pat << QSL("d MMM yyyy HH:mm:ss");
pat << QSL("d MMM yyyy HH:mm");

pat << QSL("dd-MM-yyyy - HH:mm");

Expand Down

0 comments on commit 5788f89

Please sign in to comment.