Coder Social home page Coder Social logo

Comments (7)

olga2323 avatar olga2323 commented on July 29, 2024

Any progress on this? I would volunteer to help, should I generate a pull request?

from ion-datetime-picker.

katemihalikova avatar katemihalikova commented on July 29, 2024

I'm not actively maintaining the ionic3 version as it's just a draft demo using ionic internal stuff, but you can surely fork it :) I might also accept a PR if it's a simple change.

from ion-datetime-picker.

olga2323 avatar olga2323 commented on July 29, 2024

can you grant me access, would like to push changes to issue branch

from ion-datetime-picker.

olga2323 avatar olga2323 commented on July 29, 2024

[issue/113/minute-second-can-be-zero] acv-mac:~/development/ion-datetime-picker $ git push -u origin issue/113/minute-second-can-be-zero
ERROR: Permission to katemihalikova/ion-datetime-picker.git denied to olga2323.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

from ion-datetime-picker.

olga2323 avatar olga2323 commented on July 29, 2024

Hi Kate,

b.t.w. this is the diff if you want to do that by yourself...

diff --git a/src/picker.directive.ts b/src/picker.directive.ts
index a1b78e9..a90fba3 100644
--- a/src/picker.directive.ts
+++ b/src/picker.directive.ts
@@ -56,8 +56,8 @@ export class DatetimePickerDirective {
val.month ? val.month - 1 : (pickerOptions.dateEnabled ? now.getMonth() : 0),
val.day || (pickerOptions.dateEnabled ? now.getDate() : 1),
val.hour || (pickerOptions.timeEnabled ? now.getHours() : 0),

  •  val.minute || (pickerOptions.timeEnabled ? now.getMinutes() : 0),
    
  •  val.second || (pickerOptions.timeEnabled && pickerOptions.secondsEnabled ? now.getSeconds() : 0),
    
  •  (val.minute==undefined?(pickerOptions.timeEnabled ? now.getMinutes() : 0):val.minute),
    
  •  (val.second==undefined?(pickerOptions.timeEnabled && pickerOptions.secondsEnabled ? now.getSeconds() : 0):val.second),
    
    );

from ion-datetime-picker.

olga2323 avatar olga2323 commented on July 29, 2024

issue113.patch.gz

from ion-datetime-picker.

katemihalikova avatar katemihalikova commented on July 29, 2024

Fixed in d7947f5 and released as [email protected], thanks! Let me know whether it's fixed or if there is any problem with this version.

You need to go a little different way when you want tocontribute to a repo that is not yours, see Forking Projects by GitHub Guides.

from ion-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.