From: hataejun Date: Thu, 23 Aug 2012 13:51:09 +0000 (+0900) Subject: [Title] update uniq name's length for 16 size X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0b078d83b1bbc937e56a7653bf62d4a078dc157f;p=sdk%2Ftools%2Fsdk-build.git [Title] update uniq name's length for 16 size [Type] [Module] [Priority] [Jira#] [Redmine#] [Problem] [Cause] [Solution] [TestCase] --- diff --git a/src/common/utils.rb b/src/common/utils.rb index 5fa14b2..a71f292 100644 --- a/src/common/utils.rb +++ b/src/common/utils.rb @@ -75,8 +75,9 @@ class Utils def Utils.create_uniq_name time = Time.new + # uniq snapshot_name name is year_month_day_hour_min_sec_microsec - return time.strftime("%m%d%H%M%S") + time.usec.to_s() + return time.strftime("%m%d%H%M%S") + time.usec.to_s.rjust(6, '0') end def Utils.is_url_remote(url)