summaryrefslogtreecommitdiff
path: root/src/video-support/AVIMetadataLoader.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2024-11-11 12:28:09 +0100
committerJörg Frings-Fürst <debian@jff.email>2024-11-11 12:28:09 +0100
commitcb001bb8056869f98e9a62248bdd509a69d08faf (patch)
treeec5e83ac39e4e5cec0ab9494da2d0edaafe72d89 /src/video-support/AVIMetadataLoader.vala
parent1bbf886bafc680c56ddd5e27ddd803b4e03685df (diff)
parent5b7b3b1dfd5ce7c275881098310667b09562ad27 (diff)
Update upstream source from tag 'upstream/0.32.10'
Update to upstream version '0.32.10' with Debian dir 4a4ccaeec66d543745486a1cf408bbaa58c6e02f
Diffstat (limited to 'src/video-support/AVIMetadataLoader.vala')
-rw-r--r--src/video-support/AVIMetadataLoader.vala4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/video-support/AVIMetadataLoader.vala b/src/video-support/AVIMetadataLoader.vala
index 2b507e2..31945e9 100644
--- a/src/video-support/AVIMetadataLoader.vala
+++ b/src/video-support/AVIMetadataLoader.vala
@@ -1,5 +1,7 @@
public class AVIMetadataLoader {
+ public static TimeZone local = new TimeZone.local();
+
private File file = null;
// A numerical date string, i.e 2010:01:28 14:54:25
@@ -167,7 +169,7 @@ public class AVIMetadataLoader {
out min, out sec, out year)) {
return null; // Error
}
- parsed_date = new DateTime.local(year, month_from_string((string)monthstr), day, hour, min, sec);
+ parsed_date = new DateTime(AVIMetadataLoader.local, year, month_from_string((string)monthstr), day, hour, min, sec);
}
return parsed_date;