[vala/0.36] 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.36] glib-2.0: Set DateTime.now () to use local time zone as the default
- Date: Mon, 24 Sep 2018 10:09:17 +0000 (UTC)
commit fc4148d008790854f503c6c479750dcc2e072345
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 6cf640239..813a35083 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -2882,7 +2882,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 ();
public DateTime.from_unix_local (int64 t);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]