captbaritone / captbaritone/datejs

Does Not Function in Firefox Nightly 17.0a1

Open
#159 0 comments 0 reactions 0 assignees View on GitHub
auto-migrated Priority-Medium Type-Defect
Dominant language
JavaScript
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

```
What steps will reproduce the problem?
1. Load Date.JS with
2. Load page in browser
3. Open JavScript console
4. Enter: Date.today()

What is the expected output? What do you see instead?

Expected output is "Tue Aug 28 2012 00:00:00 GMT-0500 (Central Daylight Time)"
(taken from Google Chrome's JS Console)

or "Tue Aug 28 00:00:00 CDT 2012" (taken from IE 9 Developer Tools JS Console)

Output received is "TypeError: Date.today is not a function" (taken from
Firefox Nightly's JS Console)

What version of the product are you using? On what operating system?

I am using the latest packaged release from Google Code.

My computer stats are:
HP Compaq
Intel Core 2 Duo E6750 @ 2.66GHz 2.67 GHz
8 GB RAM
80 GB HDD (74.5 GB formatted, 10.4 GB free space)
Nvidia GeForce 8400 GS (256 MB)

My operating system is:
Windows 7 Enterprise x64

The problematic browser is:

Application Basics

Name
Firefox

Version
17.0a1

User Agent
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Firefox/17.0

Please provide any additional information below.

This also happens when I open the JavaScript console on http://www.datejs.com.
On Chrome, I am able to use the Date.JS functions directly from the homepage in
the console. On Firefox, I am not.

I suspect the date.js file is failing to properly override/extend the built-in
Date objects in each browser, due to the lack of consistency between actions in
each browser (especially Firefox, where it outright fails).

Attached file is the copy of date.js I happen to have in my possession.
```

Original issue reported on code.google.com by `adrian.t...@gmail.com` on 28 Aug 2012 at 4:07

Attachments:
- [date.js](https://storage.googleapis.com/google-code-attachments/datejs/issue-159/comment-0/date.js)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.