Giter VIP home page Giter VIP logo

Comments (6)

fooloomanzoo avatar fooloomanzoo commented on September 23, 2024

@lamplightdev Yes you are right. I was thinking about a format-attribute that let's you specify the format of time and date, that could be by default

hh:mm:ss

A localisation of culture areas that use am/pm-representations would be also good. In the next version I will try to implement that. Regards!

from datetime-picker.

fooloomanzoo avatar fooloomanzoo commented on September 23, 2024

@lamplightdev A new major-release is out. There is now a new clamp-property that defaults to milliseconds, what means that all millisecond values will clamp to zero. The pickers hide features according to clamp, so by default the milliseconds-input is hidden. To enable milliseconds again, just set clamp="". There are now extra separate <date-picker> and <time-picker>, too. And for localization and 12-hour-formated-timers there are now new options, too. Please check out the examples. Regards!

from datetime-picker.

lamplightdev avatar lamplightdev commented on September 23, 2024

Great work, thanks!

from datetime-picker.

johanbyren avatar johanbyren commented on September 23, 2024

Is it possible to hide the seconds? I only need to select date and HH-mm.

from datetime-picker.

fooloomanzoo avatar fooloomanzoo commented on September 23, 2024

It's in the examples for <time-picker>. Have you tried to set clamp="seconds"?

from datetime-picker.

johanbyren avatar johanbyren commented on September 23, 2024

from datetime-picker.

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.