Giter Club home page Giter Club logo

jquery.formatdatetime's People

Contributors

agschwender avatar agschwender-mccann avatar iamrgon avatar wcatron avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

jquery.formatdatetime's Issues

Getting error d.getMonth is not a function?

I am formatting datetime like following:

$.formatDateTime('mm/dd/yy', $("#DateOfBirthHidden").val())
but it gives me error "d.getMonth is not a function"

I am using "jQuery v1.9.1 | (c) 2005, 2012 jQuery Foundation, Inc."

Thanks

Safari issue

Dear agschwender,

On safari i am getting this error, wonder what is wrong on other browsers its working fine.
image

Thanks

Receiving NaN

Hello,
i want to test it with a very simple test but i received only NaN:NaN;NaN
I use jQuery v2.1.4 and jquery.formatDateTime v1.1.6

<!DOCTYPE html>
<html>
<head>
    <link href="../css/default.css" rel="stylesheet" type="text/css" />
    <title></title>
    <meta charset="utf-8" />
    <script src="../lib/jQuery/jquery.min.js"></script>
    <script src="../lib/jQuery/jquery.formatDateTime.min.js"></script>
    <script>
        function CreateTimeString()
        {
            $("#clock").formatDateTime('hh:ii:ss', new Date('2012/07/05 09:55:03'));
        }
        $(document).ready(CreateTimeString);
    </script>
</head>
<body>
    <header>
        Bundle Delivery for
    </header>
    <footer>
        <div class="logo"><img src="../img/mylogo.jpg" alt="My Logo" /></div>
        <div class="clockdiv"><span id="clock">13:30:45</span></div>
    </footer>
</body>
</html>

Getting -1 day error (minus one day).

Hello,

For some reason with this input (only date no time):

<span class="formatdatetime" data-datetime="2013-11-10" data-dateformat="d MM yy"></span> – <span class="formatdatetime" data-datetime="2014-09-26" data-dateformat="d MM yy"></span>

I am getting this result in my own time zone:
9 November 2013 – 25 September 2014

But folks in other time zones see it as it should be. Not sure why it's changing.

This is on a WordPress site. My server settings are correct.

Any suggestions much appreciated!
Dimitry

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.