Date and Time Module


- Yes
Well, nearly! For people who are paranoid about any PHP Notices when developing their site, Line 192 will produce an error because the var isn't always defined. So open up the PHP file and on @192 where it has...
switch ($exorder[$i]) {
...insert on a new line JUST before it, this little doobie...
if (!isset($exorder[$i])) break;
...which will break the for loop as it doesn't need to run anyway in this case. No more Undefined index error - now they are ALL gone and it's 100% perfect! Thanks, developer!
I just wanted to point out that I added this fix to the latest version. Thanks!
Also everytime i open again the module, it erase the spaces and have to do it all again.
Anyway great module for what it does!
The ability to heavily customize the display formatting and use javascript updating is great for a simple but functional addition to one's site.
HOWEVER...
The bug in which html characters are displayed as squares/question marks in the Backend parameter editor makes this a huge headache when editing and nearly unusable. Depending on how many html characters and formatting changes you have made, you might have to reupdate 20+ fields in order to move one comma or space. If you don't reupdate these other fields and save, your clock will lose its formatting and become riddled with ASCII unknown symbols.
This bug needs to be fixed. I have hacked around it by using str_replace on the module parameters once they are loaded by the module, and using SPACE instead of etc. I wonder how many people have been unfortunately turned off this otherwise excellent module because of this very prominent bug.
Other than that, this is a great tool and does exactly what I was hoping to accomplish!





