# GLoc's l\_date don't work

**URL:** <https://www.ruby-forum.com/t/glocs-l-date-dont-work/142773>\
**Category:** Rails\
**Created:** [July 11, 2008, 9:52am UTC](https://www.ruby-forum.com/t/glocs-l-date-dont-work/142773 "2008-07-11T09:52:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![zhangpeihao](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/z/5fc32e/32.png) [@zhangpeihao](https://www.ruby-forum.com/u/zhangpeihao)\
**Post date:** [July 11, 2008, 9:52am UTC](https://www.ruby-forum.com/t/glocs-l-date-dont-work/142773/1 "2008-07-11T09:52:11Z")

</div>

Hi, are there anyone have used l\_date to format a date object.

I have used it as:  
\<%= l\_date porject.created\_at %\>

And defineded the “general\_fmt\_date” in “lang\en.yml” as:  
general\_fmt\_date: %%m/%%d/%%Y

When run it, the output is: %m/%d/%Y

Maybe I had made some mistakes, who can hely me?
