[vala/0.40] glib-2.0: Set DateTime.now () to use local time zone as the default
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.40] glib-2.0: Set DateTime.now () to use local time zone as the default
- Date: Mon, 24 Sep 2018 08:43:06 +0000 (UTC)
commit 16bce18cf8059840bcba92dd06495052f4abc8dc
Author: Alistair Thomas <astavale yahoo co uk>
Date: Tue Jul 3 00:29:23 2018 +0100
glib-2.0: Set DateTime.now () to use local time zone as the default
vapi/glib-2.0.vapi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index fc322c9a0..7638f6d3a 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -2958,7 +2958,7 @@ namespace GLib {
[Version (since = "2.26")]
[CCode (ref_function = "g_date_time_ref", unref_function = "g_date_time_unref", type_id =
"G_TYPE_DATE_TIME")]
public class DateTime {
- public DateTime.now (TimeZone tz);
+ public DateTime.now (TimeZone tz = new TimeZone.local ());
public DateTime.now_local ();
public DateTime.now_utc ();
[Version (since = "2.56")]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]