From: daurnimator Date: Wed, 6 Dec 2017 06:15:50 +0000 (+1100) Subject: examples/date_arithmetic.lua: Remove unused c2 var X-Git-Url: https://git.madduck.net/etc/awesome.git/commitdiff_plain/a7f02985caf20b40b60fc4d8e0b84b0483ce1865?ds=sidebyside;hp=f7e8c83697ed526ddd93763dfde409c6d2c6391d examples/date_arithmetic.lua: Remove unused c2 var --- diff --git a/examples/date_arithmetic.lua b/examples/date_arithmetic.lua index d5bd92b..c1148fb 100644 --- a/examples/date_arithmetic.lua +++ b/examples/date_arithmetic.lua @@ -29,5 +29,5 @@ print ( m , "6 months from now in melbourne" ) -- Convert time back to utc; a daylight savings transition may have taken place! -- There may be 2 results, but for we'll ignore the second possibility -local c1 , c2 = melbourne:utctime ( m:timestamp( ) ) -print ( ts2tt ( c1 ) , "6 months from now in melbourne converted to utc" ) +local c , _ = melbourne:utctime ( m:timestamp( ) ) +print ( ts2tt ( c ) , "6 months from now in melbourne converted to utc" )