Optimized Date-time picking (Tampermonkey add-on using JQuery)

Optimized Date-time picking (Tampermonkey add-on using JQuery)

by Cris Fuhrman -
Number of replies: 2

I use a lot of activities every semester whose dates have to be reset. It's a huge pain (literally) from all the clicking required, so I created a user script that works in Chrome (with the Tampermonkey plug-in). I thought it could be useful here. 

It's a GitHub Gist. I've tested it a lot with my Moodle (3.2) using the Dates Add-on

Here's a screenshot of how it looks:


The reasons I find this way better to enter dates:

  • I don't have to click (I can type the date and time entirely in the box);
  • I can copy/paste dates in the text box.
  • There's a "now" button which makes things go easier when I update from a course one year ago.

Happy Holidays!

C. Fuhrman

Average of ratings: -
In reply to Cris Fuhrman

Re: Optimized Date-time picking (Tampermonkey add-on using JQuery)

by Nelson Moller -

Have you tried something like:

https://moodle.org/plugins/report_editdates

That seems to be the perfect use-case for that plugin.

For sure, you are not as self-served as with your solution smile

In reply to Nelson Moller

Re: Optimized Date-time picking (Tampermonkey add-on using JQuery)

by Cris Fuhrman -

Hi Nelson,

Maybe it's because my screen shot was for a Moodle in French, but that is precisely the plug-in I'm using. 

Even though it shows all the dates, there's still way too much clicking going on there. I wish "number of clicks" was used more explicitly when doing UI design, especially in the teacher's work flow. But at least I feel TamperMonkey gives me some hope! 

Cheers!