Timesheets: Is time tracked on in javascript?

I’d like to build a mobile app to allow users to do various project-related things with ERPNext data while they are on a job site.

I’d like to allow them to keep track of time using timesheets from the mobile app.

When a timer is started in ERPNext, is that timer running only on the frontend (javascript), or is a web socket or something else used to keep track of the timer?

The timer continues to count even when the app is not focused. I believe the way it works is on refresh it just starts from the duration between the latest time mapped in the table and current time.

1 Like