DanielYKPan / date-time-picker

Angular Date Time Picker (Responsive Design)
https://daniel-projects.firebaseapp.com/owlng/date-time-picker
MIT License
562 stars 359 forks source link

Is this repository active? #675

Open ramtob opened 4 years ago

ramtob commented 4 years ago

Or was it abandoned? Anybody knows?

johannesjo commented 4 years ago

Looks pretty abandoned to me :(

danielmoncada commented 4 years ago

Yeah, might be abandoned. Though, the author did merge a PR in September of last year.

Might need to make a new fork =\

johannesjo commented 4 years ago

@danielmoncada there already are several. I wish GitHub would offer a better way to deal with these scenarios..

danielmoncada commented 4 years ago

@johannesjo yeah I agree. I need this updated to support ng9. Might just fork my own.

jcompagner commented 4 years ago

If @DanielYKPan does not maintain this anymore, can we somehow make 1 fork with a group of people (so not 1 comitter) that then maintains this project? (and makes releases)

johannesjo commented 4 years ago

@jcompagner good idea! Personally I am quite busy with my own open source projects, so I probably won't be able to spent too much time on this, but I can of course create a fork and add anyone as a collaborator who is interested.

danielmoncada commented 4 years ago

My team forked this already. I've updated it to ng9. There are a few things that still need to be fixed in case anyone wants to work on it (before we do).

https://github.com/danielmoncada/date-time-picker

Pull it, and run

ng build picker

Looks like there are stricter linting rules that cause the build failure

danielmoncada commented 4 years ago

Update: current master on https://github.com/danielmoncada/date-time-picker is up to date, and works with Ivy and Ng9. Will publish an npm package in the morning.

jcompagner commented 4 years ago

Nice, where you also able to look at the moment package? Because I was always still at 1.0.7 because for some reason 1.0.8 never worked for me.

danielmoncada commented 4 years ago

@jcompagner I have it currently using 2.24

jcompagner commented 4 years ago

yeah i also use that but i was talking about the:

"moment": "^2.24.0",
"ng-pick-datetime": "^7.0.0",
"ng-pick-datetime-moment": "<=1.0.7", <<< this package

i think that is needed for using moment right?

danielmoncada commented 4 years ago

@jcompagner it works, but I do get some peer dependency warnings. There's really no way to fix them, as it appears that his repo for 'ng-pick-datetime-moment' is now gone

Edit: I found a fork for it: https://github.com/davidbonachera/ng-pick-datetime-moment

jcompagner commented 4 years ago

but isnt that just: https://github.com/DanielYKPan/date-time-picker/tree/master/projects/picker/src/lib/date-time/adapter/moment-adapter

(but then the actual typescript stuff)

did he really just move it in the package itself? so it is always just included?

jcompagner commented 4 years ago

yes that dir really looks just like what we already have in the package itself:

node_modules\ng-pick-datetime\date-time\adapter\moment-adapter

danielmoncada commented 4 years ago

@jcompagner you're right! I was referring to the name you provided me in your comment above 'ng-pick-datetime-moment'. Though, since it's already part of the package itself now, looks like we can handle / manage it a lot better now.

danielmoncada commented 4 years ago

@jcompagner @johannesjo npm now published: https://www.npmjs.com/package/@danielmoncada/angular-datetime-picker

jcompagner commented 4 years ago

i am testing it now, i do get:

WARNING in Entry point '@danielmoncada/angular-datetime-picker' contains deep imports into 'C:/Users/jcomp/git/servoy_ngclient2/servoy-eclipse/com.servoy.eclipse.ngclient.ui/node/node_modules/moment/moment'. This is probably not a problem, but may cause the compilation of entry points to be out of order.

not sure what that is

I am currently testing the moment stuff because this line:

https://github.com/DanielYKPan/date-time-picker/blob/master/projects/picker/src/lib/date-time/adapter/moment-adapter/moment-date-time.module.ts#L26

i did before in my own code, but it seems to me i just need to depend on that module right?

jcompagner commented 4 years ago

i guess that warning is about:

https://github.com/DanielYKPan/date-time-picker/blob/master/projects/picker/src/lib/date-time/adapter/moment-adapter/moment-date-time-adapter.class.ts#L7

because in my code i just do:

import * as moment from 'moment';

danielmoncada commented 4 years ago

@jcompagner I'll look into the warning

danielmoncada commented 4 years ago

@jcompagner see latest package (9.1.1)

rskendzic commented 4 years ago

@jcompagner @johannesjo npm now published: https://www.npmjs.com/package/@danielmoncada/angular-datetime-picker

Not all hero wear capes. Thank you, sir!

jcompagner commented 4 years ago

@danielmoncada yes all warnings are gone, and it seems to work nicely now.