[Chandler-dev] Issues with exporting Chandler data

Grant Baillie grant at osafoundation.org
Fri Apr 25 08:18:42 PDT 2008


Totally -- I feel your pain :).

--Grant

On 25 Apr, 2008, at 07:18, Reid Ellis wrote:

> 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
>
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>
> Open Source Applications Foundation "chandler-dev" mailing list
> http://lists.osafoundation.org/mailman/listinfo/chandler-dev



More information about the chandler-dev mailing list