Closed Bug 184782 Opened 22 years ago Closed 22 years ago

javascript build nagger incorrectly checks for "0000000000" instead of "00000000" for self-builds

Categories

(www.mozilla.org :: General, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 184770

People

(Reporter: gl, Assigned: endico)

References

()

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3a) Gecko/20021210
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3a) Gecko/20021210


I'm self building Mozilla (svg, xft, gtk2) under Linux (RH 8).

The Javascript nagger on http://www.mozilla.org/start/ has  a
conditional check for self-builds. It checks against a build 
date of "0000000000" (a string of 10 zeros). However, the build date
retrieved from the user agent string following the string "Gecko" 
is only 8 characters long - as per the format of "%08d" in gbdate.pl 
which creates it.

So the javascript script needs to be modified to check for "00000000" 
(8 zeros) to turn of the nag for self builds.

More generally, I kind of wondered why the Gecko build date and the
Mozilla build date can be independently set and use different formats
(8 characters versus 10 characters).

I've read the discussion in bug 131116 where some of this was addressed
earlier ...





gbdate.pl 

Reproducible: Always

Steps to Reproduce:
1. MOZ_BUILD_DATE="0000000000"
2. build
3. start mozilla, get a (friendly) nag about upgrading

*** This bug has been marked as a duplicate of 184770 ***
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
v
Status: RESOLVED → VERIFIED
Product: mozilla.org → Websites
Component: www.mozilla.org → General
Product: Websites → www.mozilla.org
You need to log in before you can comment on or make changes to this bug.