Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Chris Grant
    @ChrisGrant
    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
    @maxammann

    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?

    moment/moment#5438

    Yosi
    @yosiasz

    @maxammann

    Greetings, would like to contribute Amharic/Ethiopic to moment

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

    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 [ሰዓት]'

    Yosi
    @yosiasz
    @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
    @moshab97
    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
    @Ederagp
    @moshab97 the format must be in quotation marks moment().format("DD/MMMM/YY")
    Donghyun Peter Kim
    @peterkimzz
    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
    @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
    @jayellsworth
    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
    Uttkarsh singh
    @loneWarrior581
    Hello Mentors and Csntributors Myself uttkarsh.I am a newbie to open source projects and wanted to contribute to the moment js so as to make my development shine and also to gain the real world software development experience. So i request all the @mentors and the @contributors to please help me in building the project on the local machine and also help me finding some begginer friendly issue so that I could make my contribution twoards making my #firstContribution in such a big porject.Expecting a positive reply from the community. github : https://github.com/loneWarrior581. Thanks a lot!
    Aditya Chava
    @gvp-adityachava
    Hello People, I just want a confirmation regarding the moment js
    does moment use MediaWiki 1.35.0 ?? Looking forward for the answer
    Aditya Chava
    @gvp-adityachava
    hello peop;e
    people
    shawnscoding
    @shawnscoding
    Hi. I am Shawn from South Korea. I am wondering if you have thought of adding Korean documentation for the users who don't understand English well.
    I have seen my colleagues having a difficult time understanding moment js because the documentation is written in English which they are not fluent in. Please let me know your thoughts on it and I'd also like to say I am a big fan of moment js and really want to help you with any issue that needs to be solved. Thanks !
    Florian Spier
    @spierala

    Hi :)
    How can I create a Date in a different timezone, I mean really a date that a user would see in another timezone when using new Date()
    Here in central europe new Date outputs this:
    Fri Oct 09 2020 14:34:00 GMT+0200 (Midden-Europese zomertijd)

    In Bangkok it should output this:
    Fri Oct 09 2020 19:34:00 GMT+0700 (Indochinese tijd)
    (I simulated by changing the system clock of the computer)

    I was playing with moment timezone:

    console.log(moment.tz('2020-10-08 21:00:00', 'Asia/Bangkok').toDate());
    console.log(moment.tz('2020-10-08 21:00:00', 'Europe/Paris').toDate());

    Running that code with system timezone Central Europe returns this:
    1.) Thu Oct 08 2020 16:00:00 GMT+0200 (Midden-Europese zomertijd)
    2.) Thu Oct 08 2020 21:00:00 GMT+0200 (Midden-Europese zomertijd)

    Both dates are different and the offset is correct, but somehow the timezone is not changing.
    I would expect to see GMT+0700 (Indochinese tijd) for the first output.

    jschaeppi
    @jschaeppi
    Hello I'm curious if anyone is having issues with moments isLeapYear() method? I'm getting it telling me that isLeapYear is true for 2018 and 2019 when that is incorrect
    jschaeppi
    @jschaeppi
    nevermind i figured out my mistake
    Egor Vasilyev
    @egorvas
    Hi, can anyone help me with parsing nginx log time? Eg: "22/Apr/2021:03:46:37 +0700" Im trying "DD/MMM/YYYY:hh:mm:ss z" but it returns Moment<2021-04-22T00:00:00+03:00>
    erzamora
    @erzamora
    Anyone read this?
    I'm curious why moment('W52 2020', '[W]ww YYYY').add({ week: 1}) =>'W01 2020'? Shouldnt it be 2021?