Ciaran Farrell avatar Ciaran Farrell committed 1139419

-l flag for list is now on by default. Try fixing timezone problems using global delta

Comments (0)

Files changed (2)

 tlist = subparsers.add_parser('list', help='List your appointments')
 tlist.add_argument('window', nargs='?',
                     help=help_window,default=defaultwindow)
-tlist.add_argument('-l', '--with-id',dest='withid',help=help_withid,default=False,
-                    action='store_true')
+#tlist.add_argument('-l', '--with-id',dest='withid',help=help_withid,default=False,
+#                    action='store_true')
 tlist.add_argument('-a','--with-fullid',dest='withfullid',help=help_withfullid,
                     default=False,action='store_true')
 tshow = subparsers.add_parser('show', help='Show a particular appointment')
 while not ok: # loop is because user may not be authenticated
   if action=='list':
     logger.debug('action is list')
-    w_id,w_fid = args.withid,args.withfullid
+    w_id,w_fid = True,args.withfullid
     if w_fid: w_id = True
     try:
       gw = Groupwise(fl=fl)
   def createAppointment(self,to,subject,message,st,et,cc=None,place=""):
     logger.debug('''Groupwise.createAppointment with to=%s,subject=%s,message=%s,
       st=%s,et=%s,cc=%s,place=%s'''%(to,subject,message,st,et,cc,place))
+    logger.debug('Adding the gdelta timedelta to st and et')
+    st = st+gdelta
+    et = st+gdelta
     logger.debug('Getting user list for %s'%to)
     users = self.getUserList(to)
     app = self.client.factory.create('ns2:Appointment')
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.