fix iso8601 date formatting for yiptv dunning API, RT#35167
authorIvan Kohler <ivan@freeside.biz>
Wed, 23 Mar 2016 20:58:59 +0000 (13:58 -0700)
committerIvan Kohler <ivan@freeside.biz>
Wed, 23 Mar 2016 20:58:59 +0000 (13:58 -0700)
FS/FS/Misc/DateTime.pm

index 56baec3..08cf9a9 100644 (file)
@@ -81,7 +81,7 @@ date and time.
 =cut
 
 sub iso8601 {
 =cut
 
 sub iso8601 {
-  time2str('%Y-%m-%dT%T', @_);
+  time2str('%Y-%m-%dT%T', shift);
 }
 
 =back
 }
 
 =back