A note on $form->dateTime(‘field_name’) generating offset warning in CakePHP

This is a note on $form->dateTime(‘field_name’) generating offset warning i.e. “Notice (8): Undefined offset: 1 [CORE/cake/libs/view/helpers/form.php, line 1836..“. If your “date” form field in a view is generating a similar warning you may need to look into the following scenario.

Fixing “empty characters with grayed background” in LibreOffice document content

I copied one of my email’s content into a LibreOffice document for saving as a .doc or .docx. While looking at the pasted content it was weird to have a lot of empty spaces(tabs, spaces and/or newline characters, whatever) with grayed background…

Read More