I'm trying to change the date formats for posts in the Bbaord package and I'm stuck. You would think it enough to change
to_char(sent_date,'Month DD, YYYY HH:Mi am') as pretty_date
to
to_char(sent_date,'DD/MM/YYYY HH:MI am') as pretty_date
in /packages/bboard/www/message.tcl
, but nothing happens, the output still reads something like "June 10, 2003 07:58 pm". When I write (in e.g. message.tcl
)
db_1row current_date { select to_char(now(),'DD/MM/YYYY HH:MI am') as date_now }
and then write "@date_now@" in the .adp, I get what I want ( i.e., "11/06/2003 08:56 pm").
What am I doing wrong? I've been searching the board for a long while but I can't seem to fix this.