[vala/0.42] 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.42] glib-2.0: Set DateTime.now () to use local time zone as the default
- Date: Sun, 23 Sep 2018 09:06:00 +0000 (UTC)
commit 7ede6a7858940ebae4f19661940b027653bc85b5
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]