GithubHelp home page GithubHelp logo

[FIXED] Wrong parsing result about datejs HOT 4 CLOSED

dougskeez avatar dougskeez commented on June 22, 2024
[FIXED] Wrong parsing result

from datejs.

Comments (4)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 22, 2024
Thanks for pointing out the bug.

The parser is getting confused with the 'at'. We're going to add support for 
ignore
words ("is at the on of") into the parser which should fix the problem.

The following works now...

Date.parse("december 9 9am");
Date.parse("dec 9 9am");

Original comment by geoff%[email protected] on 28 Nov 2007 at 3:07

  • Changed state: Accepted

from datejs.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 22, 2024
Work has started on a fix for this problem.

Original comment by geoff%[email protected] on 28 Nov 2007 at 11:41

  • Changed state: Started

from datejs.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 22, 2024
Date.parse("december 9 at 9am") appears to be working now. I'm not entirely 
sure what
changed to make this work, but it does pass now. 

The online "Mad Skillz" widget has been updated with the latest code if you 
want to
confirm this online. 

The latest code has been committed to SVN.

Original comment by geoff%[email protected] on 18 Dec 2007 at 10:55

  • Changed title: [FIXED] Wrong parsing result

from datejs.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 22, 2024
forgot to change status.

Original comment by geoff%[email protected] on 18 Dec 2007 at 10:57

  • Changed state: Fixed

from datejs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.