[splinter] Don't accidentally use octal constants
- From: Owen Taylor <otaylor src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [splinter] Don't accidentally use octal constants
- Date: Sat, 19 Feb 2011 01:51:45 +0000 (UTC)
commit 074dad52920b37a406cfa2e5cd10665979573e0d
Author: Owen W. Taylor <otaylor fishsoup net>
Date: Fri Feb 18 19:29:35 2011 -0500
Don't accidentally use octal constants
000 is interpreted as an octal constant by firefox - so just use
0 for a timezone offset
js/bug.js | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/js/bug.js b/js/bug.js
index 6bc64ac..190f146 100644
--- a/js/bug.js
+++ b/js/bug.js
@@ -9,8 +9,8 @@ const TIMEZONES = {
CEST: 200,
CET: 100,
BST: 100,
- GMT: 000,
- UTC: 000,
+ GMT: 0,
+ UTC: 0,
EDT: -400,
EST: -500,
CDT: -500,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]