Skip to content

Instantly share code, notes, and snippets.

@waracci
Created September 10, 2019 15:01
Show Gist options
  • Save waracci/668f8ef1e378495669cdef35c2543aa3 to your computer and use it in GitHub Desktop.
Save waracci/668f8ef1e378495669cdef35c2543aa3 to your computer and use it in GitHub Desktop.
log hours quick
// Amount in hours you need to log. Eg. "8:00" logs 8 hours for you
document.getElementById('time_input').value = '8:00';
// Enter the product name you need to log hours for
document.getElementById('client_input').value = 'ProductName';
// Enter a description to justify the hours. Comma separated hashtags withion a string are allowed too
document.getElementById('hashtags_description').value = '#product, #reason, I helped out a colleague';
// Submits the form
document.getElementById('new_entry').submit()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment