Hi.

I think, that using format_date function instead gmdate function is more properly - they solve localization and customization problem.

Please, review my patch for drupalit.module

Thanks.

CommentFileSizeAuthor
drupalit.module.patch2.85 KBdicreat

Comments

apanag’s picture

Hello dicreat,

thanks for your patch. I am going to use format_date instead of gmdate. I review your patch and found the following error:

-              <td class="data large">'. gmdate("M d Y H:i", $statistic['voted']) .'</td>
+              <td class="data large">'. format_date($statistic['voted'], 'voted') .'</td>

Ι think you mean 'medium' instead of voted. ;-)

Thanks for your help.

apanag

apanag’s picture

I just updated the .dev module. I am waiting your feedback, so i can i close this issue.

Thanks again,
apanag

dicreat’s picture

Status: Needs review » Closed (fixed)

Now all works fine, thanks.