IsaakKrut commented on PR #2521:
URL: https://github.com/apache/streampipes/pull/2521#issuecomment-1989417594

   Hi @tenthe,
   
   Updated the test with your suggestions and fixed a daylight savings related 
issue. 
   
   Regarding invoke method. What it does is it invokes a function specified in 
the first parameter on an object yielded before it in the chain. In this case, 
it's an attr() function that gets the attribute's value based on the second 
parameter which is attributeName
   
   This is the html element:
   `<sp-date-input data-cy="time-range-to" _nghost-ng-c1192185161="" 
ng-reflect-date="Mon Mar 11 2024 16:23:16 GMT-0"><input 
_ngcontent-ng-c1192185161="" type="datetime-local" step="1" 
class="sp-date-input"></sp-date-input>`
   
   So the current date selection is stored in the "ng-reflect-date" attribute. 
I added a couple of comments, let me know if I can do anything else to make it 
easier to read


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to