gnucash-on-flatpak master: Addendum of last commit
Frank H.Ellenberger
fell at code.gnucash.org
Wed Jan 12 15:35:06 EST 2022
Updated via https://github.com/Gnucash/gnucash-on-flatpak/commit/2b81765f (commit)
from https://github.com/Gnucash/gnucash-on-flatpak/commit/d64e72a5 (commit)
commit 2b81765f12354d419b10ec838a758722c69e9542
Author: Frank H. Ellenberger <frank.h.ellenberger at gmail.com>
Date: Wed Jan 12 21:34:49 2022 +0100
Addendum of last commit
diff --git a/modules/libofx.json b/modules/libofx.json
index ac6c835..a344bef 100644
--- a/modules/libofx.json
+++ b/modules/libofx.json
@@ -10,10 +10,6 @@
"type": "archive",
"url": "https://github.com/libofx/libofx/archive/refs/tags/0.10.3.tar.gz",
"sha256": "fe07cfd895fd79dcb9f45ca80a90ceaf1ebcc3b43b7e6d3fd7c3b2ae3bd8ba9e"
- },
- {
- "type": "patch",
- "path": "../patches/libofx-subtract-gmt-offset.patch"
}
],
"modules": [
diff --git a/patches/libofx-subtract-gmt-offset.patch b/patches/libofx-subtract-gmt-offset.patch
deleted file mode 100644
index d6e8932..0000000
--- a/patches/libofx-subtract-gmt-offset.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From 86036241d35df6570a19f932f5486d4a27dc3f02 Mon Sep 17 00:00:00 2001
-From: John Ralls <jralls at ceridwen.us>
-Date: Thu, 16 Sep 2021 16:32:30 -0700
-Subject: [PATCH] Reverse the application of gmt offset seconds to struct
- tm::tm_sec.
-
-A positive gmt offset means that UTC is that many seconds before the
-time indicated in struct tm so the gmt offset should be subtracted
-from tm_sec not added.
-
-Fixes https://bugs.gnucash.org/show_bug.cgi?id=798267.
----
- lib/ofx_utilities.cpp | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/lib/ofx_utilities.cpp b/lib/ofx_utilities.cpp
-index ced5cf9..6c8aa1e 100644
---- a/lib/ofx_utilities.cpp
-+++ b/lib/ofx_utilities.cpp
-@@ -152,7 +152,7 @@ string AppendCharStringtostring(const SGMLApplication::CharString source, string
- float ofx_gmt_offset = atof(offset_str.c_str());
- std::time_t temptime = std::time(nullptr);
- static const double secs_per_hour = 3600.0;
-- time.tm_sec += static_cast<int>(ofx_gmt_offset * secs_per_hour);
-+ time.tm_sec -= static_cast<int>(ofx_gmt_offset * secs_per_hour);
- return timegm(&time);
- }
-
---
-2.30.1 (Apple Git-130)
-
Summary of changes:
modules/libofx.json | 4 ----
patches/libofx-subtract-gmt-offset.patch | 31 -------------------------------
2 files changed, 35 deletions(-)
delete mode 100644 patches/libofx-subtract-gmt-offset.patch
More information about the gnucash-changes
mailing list