[Chandler-dev] Issues with exporting Chandler data

Reid Ellis rae at tnir.org
Fri Apr 25 07:18:12 PDT 2008


Speaking of chex files, would it be ok for the default name of the  
file you get with export to be {year}-{month}-{day}-{hour}{minute}. 
{second}.chex rather than {year}{month}{day}{hour}{minute} 
{second}.chex? I just find it easier to parse the file names when  
they're formatted more nicely like that. I do it manually right now :-)

Specifically, I'd like to apply this patch:

Index: parcels/osaf/views/main/Main.py
===================================================================
--- parcels/osaf/views/main/Main.py     (revision 16358)
+++ parcels/osaf/views/main/Main.py     (working copy)
@@ -994,7 +994,7 @@

      def _chooseExportFile(self, obfuscate):

-        filename = "%s.chex" % strftime("%Y%m%d%H%M%S")
+        filename = "%s.chex" % strftime("%Y-%m-%d-%H%M.%S")
          wildcard = "%s|*.chex|%s (*.*)|*.*" % (_(u"Chandler export  
files"), _(u"All files"))

          dlg = wx.FileDialog(wx.GetApp().mainFrame,


Reid



More information about the chandler-dev mailing list