aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2015-03-16 11:51:47 -0500
committerCharles Kerr <charles.kerr@canonical.com>2015-03-16 11:51:47 -0500
commit4dd066bb3534fe84ec4eed285422f043695febb7 (patch)
treec0ba1a75706cdc61bd1fa2da7a2088da714e5b1e /src
parentfb36c642ce787c2ba2c9ec076250b12dac8c0546 (diff)
downloadayatana-indicator-datetime-4dd066bb3534fe84ec4eed285422f043695febb7.tar.gz
ayatana-indicator-datetime-4dd066bb3534fe84ec4eed285422f043695febb7.tar.bz2
ayatana-indicator-datetime-4dd066bb3534fe84ec4eed285422f043695febb7.zip
make utc variable name more sensible.
Diffstat (limited to 'src')
-rw-r--r--src/actions-live.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/actions-live.cpp b/src/actions-live.cpp
index 121744a..4d1f770 100644
--- a/src/actions-live.cpp
+++ b/src/actions-live.cpp
@@ -119,8 +119,8 @@ void LiveActions::desktop_open_appointment(const Appointment& appt)
void LiveActions::desktop_open_calendar_app(const DateTime& dt)
{
- const auto gmt = dt.start_of_day().to_timezone("UTC");
- auto cmd = gmt.format("evolution \"calendar:///?startdate=%Y%m%dT%H%M%SZ\"");
+ const auto utc = dt.start_of_day().to_timezone("UTC");
+ auto cmd = utc.format("evolution \"calendar:///?startdate=%Y%m%dT%H%M%SZ\"");
execute_command(cmd.c_str());
}