History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: QB-612
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Won't Fix
Priority: Major Major
Assignee: Unassigned
Reporter: Robin Shen
Votes: 1
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
QuickBuild

Be able to specify auto backup file name pattern

Created: 12/Sep/10 02:56 AM   Updated: 31/Aug/11 03:39 AM
Component/s: None
Affects Version/s: None
Fix Version/s: 3.0.4

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description  « Hide
For now,the default auto backup file pattern is ""yyyy.MM.dd_HH.mm.ss".zip ,it would be great if we change the filename:)
AutoBackupSetting should add a property as "backupFilePatten",so we customise backup file name.
eg: we can autobackup everyday,but only need save a backup per month,we can set backupFilePatten="yyyy-MM"

 All   Comments   Work Log   Change History      Sort Order:
qxo [13/Oct/10 02:23 AM]
jdk SimpleDateFormat:
http://download-llnw.oracle.com/javase/1.5.0/docs/api/java/text/SimpleDateFormat.html

joda DateTimeFormat:
http://joda-time.sourceforge.net/api-release/org/joda/time/format/DateTimeFormat.html

you can see they have some differents,eg: jdk support "Week in month"(W),but joda not :(

Robin Shen [25/Sep/10 11:22 PM]
But I think the date format is almost the same. Is there any special feature of SimpleDateFormat you'd like to use?

qxo [25/Sep/10 03:05 PM]
The Code using org.joda.time.format.DateTimeFormat;
Not java.text.SimpleDateFormat
 :(