Simple Clock icon

Simple Clock

Maintained by Michael de Raadt
A simple JavaScript clock that highlights the time difference between a student and the Moodle server
Price option: Free

Supports Moodle 1.9-3.11 See all versions
Latest release: 8 years ago
Installations: 840
Downloads (last 90 days): 68

Frankenstyle name: block_simple_clock
Blocks

Comments

Comments are no longer open for new posts. Existing comments remain available to read.

My Moodle Clock is an hour and a few minutes wrong. I'm about 1km from the server, but it is lagging about 1 hour and 30 seconds behind. Please can I have some ideas as to why it would be like this.
Hi, Chad.
Thanks for pointing that out. It was unintentional. I've put in a fix and will upload a new version now. See details at https://tracker.moodle.org/browse/CONTRIB-5352
I don't seem to be able to add this to the 'My Home' page (/my), only to a course page. Is that intentional?
Hi, Najah.
Thanks for trying the block. Be sure to install the block in the /blocks directory.
Here's a guide for installation. https://docs.moodle.org/27/en/Installing_plugins
Hello.
I tried installing this manually - downloaded the zip, unzipped it, uploaded it to the server - but I only manage to get to the 'Plugins Check' page. Was stated that it is 'To be installed'. I tried googling this but found nothing that could solve it.
Please help, thank you.
Hi, Phil.
You can change this by altering the language string for this label. Go to Site admin > Language > Language customisation and load the strings for block_simple_clock.php and edit the sting for "server".
Hey Michael! Just installed this on our site; and wondered if it would be possible to edit the text fields on the block. I want to be able to change the 'Server' name to something bespoke.
If this is a relatively easy fix, I am happy to log an improvement on tracker.moodle.org.
Cheers
Hi, all.
I've just uploaded a new version with changes that were in a version that was lost when moodle.org was rolled back. If you've downloaded this block in the last two days, you should download it again now.
Thanks for your reaction, Michael. I juste created and improvement issue on tracker.moodle.org for this improvement.
Hi, Richard.
That sounds like a reasonable improvement. If you create an improvement issue for the plugin on tracker.moodle.org I will make the change.
Hi Michael. Thank you for this very useful block. Is it possible to show the time in a 24 hour format ?
Hola, Marta.
Yo he confiado en Google Traducir al leer su mensaje y escribir una respuesta, así que por favor me disculpe si he entendido mal su pregunta.
El bloque se basa en cadenas de un archivo de idioma. Puede editar las cadenas a través de Moodle al ingresar como administrador y vaya a Administración del sitio> Idioma> Idioma personalización. Hay algo de documentación sobre cómo hacer esto aquí ...
http://docs.moodle.org/all/es/Personalizaci% C3% B3n_del_idioma
Aún mejor sería que te permite traducir las cadenas en el paquete de idioma distribuida. Esto puede ser compartida con todos los hablantes de la lengua. Ir a lang.moodle.org para más información.
---
Hi, Marta.
I've relied on Google Translate to read your message and write a reply, so please excuse me if I have misunderstood your question.
The block draws on strings from a language file. You can edit the strings through Moodle by logging in as the administrator and navigating to Site admin > Language > Language customisation. There is some documentation on how to do this here...
http://docs.moodle.org/all/es/Personalizaci%C3%B3n_del_idioma
Even better would be for you to translate the strings in the distributed language pack. This can then be shared with all speakers of your language. Go to lang.moodle.org for more information.
Hola Michael, tengo un moodle 2.5 y agregue el simple clock, la pregunta es como puedo cambiarle los nombre de servidor y usted que es lo que me traduce por defecto ya que el idioma de mi moodle es español. Necesito que la referencia sea otra. Gracias por la ayuda que me pueda prestar.
Hi, Alan.
You're correct. I'm not sure that showing the adjusted time for the server time is a good idea. Most students wouldn't set a timezone. If I did adjust the time using the user's profile setting, I think it would be even more confusing. Two possibilities: introduce a third time (server time adjusted to user's time zone) or add a note somehow describing what times are shown.
But doesn't your profile time zone setting automagically change assignment deadlines etc to your local time? Assuming that they have this setting correct of course smile Quite often they don't, particularly when they travel. Wouldn't it be handy if your block said "this is what I think your local time is, and if you think that's not correct, check your profile settings. Oh, and btw,this is what the server time is." in fewer words of course ;)