Beispiel #1
0
def gui_format_date(d):
    return utils.format_date(d, gui_date_format)
Beispiel #2
0
def format_date(d):
    return utils.format_date(d, date_format)
Beispiel #3
0
 def __str__(self):
     str_fields = utils.format_date(self.order_date), \
         utils.format_money(self.item_total), self.title
     return ' | '.join(map(str, str_fields))