Goodevening,

I loop through rows and am trying to show a date format like: 23 april.
What i get is : 23 4 ( as expected) and i would like to convert the month 
number to a month name.

this is the code that i have so far:

                  {{for row in 
db(db.t_appointment.created_by==auth.user.id).select(orderby=~db.t_appointment.created_on):}}
 
                  <article class="media event">
                    <a class="pull-left date">
                      <p class="month">{{=row.f_start_time.day}} 
{{=row.f_start_time.month}}</p>
                      <p 
class="day">{{=row.f_start_time.hour}}:{{=row.f_start_time.minute}}</p>
                    </a>
                    <div class="media-body">
                      <a class="title" href="#">{{=row.f_title}}</a>
                      <p>{{=row.f_log}}</p>
                    </div>
                  </article>
                   {{pass}}

this works fine except month name ... not able to convert number to name

hope that someone can help me...

steve

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to