Displaying 1 result from an estimated 1 matches for "abbr_monthnames".
2006 Jun 18
2
newby issue with the date class
...al defined like this
<%=
  d = Date.today
%>
<div class="date_container">
 <div class="month"><%= Date::ABBR_DAYNAMES[d.wday] %></div>
 <div class="day"><%= d.day %></div>
 <div class="year"><%= Date::ABBR_MONTHNAMES[d.mon] %></div>
</div>  <!-- date container-->
now whats annoying is when it renders i get this
2006-06-14    <--- why is this being rendered ?
& then my css formatted date below
Tue
22
Jun
Not sure why it printing out the whole date at the top when im assigning
it t...