[vala/staging] glib-2.0: Set DateTime.now () to use local time zone as the default



commit a3cbbad300c557afbb3be39bffdce070a41b2cfc
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 eb02be635..9210f7c41 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -2960,7 +2960,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]