Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
(landing for joduinn) generate BuildID with up to the second resoluti…
…on. b=431270, r=ted.mielczarek
  • Loading branch information
ccooper committed Aug 7, 2008
1 parent f92d539 commit 21305f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/version_win.pl
Expand Up @@ -50,7 +50,7 @@ sub daysFromBuildID
{
my ($buildid,) = @_;

my ($y, $m, $d, $h) = ($buildid =~ /^(\d{4})(\d{2})(\d{2})(\d{2})$/);
my ($y, $m, $d, $h) = ($buildid =~ /^(\d{4})(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})$/);
$d || die("Unrecognized buildid string.");

my $secondstodays = 60 * 60 * 24;
Expand Down
2 changes: 1 addition & 1 deletion toolkit/xre/make-platformini.py
Expand Up @@ -12,7 +12,7 @@
(options, args) = o.parse_args()

if options.print_buildid:
print datetime.now().strftime('%Y%m%d%H')
print datetime.now().strftime('%Y%m%d%H%M%S')
sys.exit(0)

if not options.buildid:
Expand Down

0 comments on commit 21305f1

Please sign in to comment.