<< Back to previous view

[QB-612] Be able to specify auto backup file name pattern
Created: 12/Sep/10  Updated: 31/Aug/11

Status: Resolved
Project: QuickBuild
Component/s: None
Affects Version/s: None
Fix Version/s: 3.0.4

Type: Improvement Priority: Major
Reporter: Robin Shen Assigned To: Unassigned
Resolution: Won't Fix Votes: 1
Remaining Estimate: Unknown Time Spent: Unknown
Original Estimate: Unknown


 Description   
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"

 Comments   
Comment by qxo [ 25/Sep/10 03:05 PM ]
The Code using org.joda.time.format.DateTimeFormat;
Not java.text.SimpleDateFormat
 :(
Comment by 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?
Comment by 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 :(
Generated at Fri Apr 19 19:14:07 UTC 2024 using JIRA 189.