Code Monkey home page Code Monkey logo

moment-mini's Introduction

moment-mini's People

Contributors

ksloan 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  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

moment-mini's Issues

Support moment-timezone

I don't think this is the right place to raise this issue, but not sure where would be more appropriate. I use this library to avoid packaging the locales for moment.js and it works fantastically. Now I've added moment-timezone as a dependency and this imports moment in it's code (which is also installs as a full dependency). So now I lose all the benefits of moment-mini.

I was wondering if you'd be prepared to support a mini version of moment-timezone that references moment-mini in codebase. If you're not up for it, could you let me know how you automatically keep up-to-date with moment.js releases so that I might implement something myself?

Thanks in advance!

ESM version?

Can you ship a esm version and add it through exports?

2.24.0 update

moment 2.22.2 came out back in June. moment-mini should be updated to that version, @ksloan.๐Ÿ˜‰
Edit: 2.24.0 now out.

Can I load just a locale?

I need to load just the pt-br locale on project.

Is it possible use it fork to resolve this problem?

Repository is locked for PRs !!!

Hello, Good Sir!

Thank you so much for creating this package! Being able to cull localization solves a big problem for us!

But I'm trying to update moment.min.js and moment.d.ts to the latest version from moment, and the repo won't let me push to a new branch!!!

Screen Shot 2022-08-01 at 6 03 07 PM

And when I try to add files manually via github.com
Screen Shot 2022-08-01 at 6 04 02 PM

I get disappointments!!

Screen Shot 2022-08-01 at 6 05 29 PM

Is there anyway you might deign to loosen your fair repo's chastity belts so I may share the fruits of these update goodnesses with the worlds ???

๐Ÿค— ๐Ÿค— ๐Ÿค—
James

Linux/Firefox doesn't work

  • Linux/Firefox: Error n is undefined
    //! moment.js
    //! version : 2.18.1
    //! authors : Tim Wood, Iskren Chernev, Moment.js contributors
    //! license : MIT
    //! momentjs.com
    !function(e,s){"object"==a(t)&&void 0!==r?r.exports=s():(o=s,void 0!==(i="function"==typ

typings of moment-mini

I want the @type format of moment-mini.js. Is it there already or how can I convert moment-mini.js to moment-mini.d.ts

Not able to use moment-mini-ts lib

Hi I know this is not a correct place to ask these kind of questions, but asking on SO or other platforms don't convert an answer to the question I want, as not many people on SO are following this lib.

In my angular - ionic app I was previously using angular2-moment, which was bloating vendor wherever I used moment due to locales.

I get to know from moment's issue tracker about moment-mini-ts.

My module is as follow:

package.json

"angular2-moment": "^1.7.0",
 "moment": "^2.18.1"

page.module.ts

import { MomentModule } from 'angular2-moment';

@NgModuel( { 
      imports: [
              MomentModule
  ]   
} )

page.html

<div>time | amTimeAgo</div>

Source maps for vendor.js is as follows

image

Now replacing angular2-moment & moment to moment-mini-ts

Then using in module as follow displays error as :

page.module.ts

import * as moment from 'moment-mini-ts';

NgModule ({ 
     imports: [ 
       moment,
     ] 
 })

image

How to use it here?

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.