Announcement

Collapse
No announcement yet.

DateTime not changed when time is none

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • DateTime not changed when time is none

    Example: Task dateEnd

    In interface field contain two input fields: date, time

    When time changed to none isAttributeChanged bot fired and dateEnd contain old time part.

    Sugestion: remove point 'none' and make time part mandatory with default 00:00

  • #2
    Suggestion is bad.

    How you change the time?

    Comment


    • #3
      Time changed by drop down list. Without point "none". What this "none" mean? Separate time field in database not exist. DateTime always contain time part.

      When I change time to none dateEnd de facto changed, but isAttributeChanged not fired. Solution withou any additional modifications: only remove point "none" from choice list.

      What is the difference between "none" and "00:00"?
      Attached Files
      Last edited by dimyy; 08-23-2018, 08:50 AM.

      Comment


      • #4
        If you select None, dateEndDate field is set
        If you select any time from the list, dateEndDate field is null

        Comment

        Working...
        X