Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
    @kellyprankin well maybe you've to prepare the string first: https://codepen.io/heivask/pen/MMPBWw
    Huy Vo
    Can I parse a datetime from for example 2019-07-16T03:20:40.156Z to UTC+07:00?
    Olu Niyi-Awosusi
    Is moment still under active development?
    I have a question
    when using typescript do you also use Moment instead of Date in your models?
    Ikechukwu Eze
    @HeiVask this works moment('17:0', 'H:m').format('HH:mm') // "17:00"
    Ikechukwu Eze
    @bugproof Date works pretty fine
    Andrew Kralovec
    Hey everyone

    Im having a moment time issue. The time, that moment displays, is off by an hour (best guess is timezone at the moment). When i display the time in node & then in my terminal, you can see the times don't match. Which i don't understand, because they are both being running locally.
    On another computer, they do match. Does anyone have an idea what could cause this?


    Hi Everyone :D , Im using momentjs with polymer. I get this error , does anyone have an ideawhat could cause this? :(
    Nevermind , it was my fault haha, thanks :D
    Aquiles Maior | O BarbaNeja
    o horário de verão no brasil ainda está incorreto, pois aqui o presidente cancela o mesmo. Alguém mais teve problemas hoje?
    daylight saving time in brazil is still incorrect, because here the president cancels it. Has anyone else had problems today?
    Alexey Seliverstov
    for some reason there's this undefined section in the moment.js website
    Is anyone here?
    Is it possible to subtract something like 02:00:00 with 00:00:01
    without using moment to get the 02:00:00
    sound of wind and cobwebs
    Hi I am new here.i wanted to contribute.I cloned the repo but don't know how to run the library \
    Tan Yuanhong
    Is anyone reviewing PRs for this project?
    Hey, I'm following up on the standard (see #1407). How can I get the current date?
    And I have to check if the current date is in range (isBetween(?))
    Abhishek Chaudhary
    Hey all, I'm debugging a strange issue. I'm using BrowserStack and OSX Catalina + Chrome 79 to reproduce. It seems that moment.utc() returns an object that consistently is 30 seconds in the past. Has anyone seen this before?
    Jonas Amundsen
    I had the unfortune of forgetting to escape the literal "at" in my format-string when parsing and got a surprising result
    moment("24. Mar 2020 at 12:53", "DD. MMM YYYY at HH:mm", true).format();
    // => "2020-03-24T00:53:00+01:00"
    moment("24. Mar 2020 at 13:53", "DD. MMM YYYY at HH:mm", true).format();
    // => "2020-03-24T13:53:00+01:00"
    Why does it not yield an "invalid date" error when in strict mode?
    Hello guys, i have a question
    i have a date object in an angular table, and i wanna extract the date on the displayed column
    any tips ?
    to sum up, it mean to extract the existed date object using momentjs
    Greetings, would like to contribute Amharic/Ethiopic to moment
    Chris Grant
    I'm struggling with something. I need to calculate a student's year group. I have the date they signed up and the year they were in when they signed up (as a number), but the school year increments on the 1st of September. Can moment help me to calculate the year group based on this?
    Max Ammann

    Hello, I want to add support for the Tigrinya locale to moment.
    Is there a standard procedure in order to satisy the quality of the locales?




    Greetings, would like to contribute Amharic/Ethiopic to moment

    what is the minimum version of node required to contribute to moment?

    in Amharic, I want to define my own custom meridiem.
    am is ከጠዋቱ
    pm is ከምሽቱ

    But then how I use this in testing the formatting works as you do when using dddd ? Is there one for meridiem ?
    '[ያለፈው] dddd meridiem LT [ሰዓት]'

    @Priyam1464 what I did was I took one of the en-ca test files
    And trimmed it down to my specific tests
    @aquilesmaior_twitter nuevo presidente
    Moshe Shabes
    I am trying to use moment().format (DD/MMMM/YY) and it gives me error in MMMM month format with following message "Cannot read property '4' of undefined"
    Eder Gomez
    @moshab97 the format must be in quotation marks moment().format("DD/MMMM/YY")
    Donghyun Peter Kim
    When I set locale by using moment.updateLocale('hi') and try to insert or update row in MySQL with Sequelize v5, created_at column is filled with localized date. Sequelize returns, Incorrect datetime value: '२०२०-०६-१९ १७:३५:४२' for column 'created_at' at row 1
    I think Sequelize internally detects global datetime value.
    Apoorv Mishra
    Hi everyone :wave: , just published a CLI tool for guessing a date's format at https://github.com/apoorv-mishra/moment-guess. Hope that it might turn out to be useful for momentjs users :smiley:
    Jay Ellsworth
    I've been trying to get a locale-aware timestamp working on my site by using the "LL" input for moment's format() function. I love the idea of locale aware formats for dates so they look nice for everyone no matter where they are in the world, but I'm not having much luck getting it to work. I've been asking in the stackoverflow javascript chat room and I posted a question asking about it, but as of this writing I haven't gotten an answer to my question and so far no one in the chat seems to know why it's not working either. So I'm hoping someone here can help and instead of typing the whole question again I'm just going to link to my already-nicely-formatted and thorough question: https://stackoverflow.com/questions/63511677/formatting-a-date-with-momentjs-in-an-ejs-file