[gitg] Change camel case var timeZone to gitg style
- From: Sindhu S <sindhus src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gitg] Change camel case var timeZone to gitg style
- Date: Tue, 23 Apr 2013 11:08:51 +0000 (UTC)
commit 2aaf706e57d609bed0322bcc837462c83bb15052
Author: Sindhu S <sindhu oxf gmail com>
Date: Tue Apr 23 16:36:40 2013 +0530
Change camel case var timeZone to gitg style
libgitg/gitg-commit.vala | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libgitg/gitg-commit.vala b/libgitg/gitg-commit.vala
index c2360ea..5cc0e8e 100644
--- a/libgitg/gitg-commit.vala
+++ b/libgitg/gitg-commit.vala
@@ -93,7 +93,7 @@ public class Commit : Ggit.Commit
}
}
- private string date_for_display(DateTime dt, TimeZone timeZone)
+ private string date_for_display(DateTime dt, TimeZone time_zone)
{
var t = (new DateTime.now_local()).to_unix() - dt.to_unix();
@@ -130,7 +130,7 @@ public class Commit : Ggit.Commit
return "%d days ago".printf((int)Math.round(t / (3600 * 24)));
}
- return dt.to_timezone(timeZone).format("%x %X %z");
+ return dt.to_timezone(time_zone).format("%x %X %z");
}
public string committer_date_for_display
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]