Recent Topics

1 Mar 15, 2009 07:30    

My b2evolution Version: 2.x

I looked at the main.index.php for the nifty corners skin and the date format is weird ['#']
How can i change the date format in the nifty corners skin?

3 Mar 15, 2009 15:28

I read the post before sending mine.
It does nto apply to nifty corners.

4 Mar 15, 2009 18:33

Ok.. so try replacing the date format code you have with one form another skin...
eg:

<?php
				$Item->issue_time( array(
						'before'      => '<h2>',
						'after'       => '</h2>',
						'time_format' => 'M j, Y',
					) );
			?>

5 Mar 15, 2009 18:57

Where are you seeing ['#'] ?

6 Mar 15, 2009 19:00

@EdB from Nifty...

<?php
	// ------------------------------ DATE SEPARATOR ------------------------------
	$MainList->date_if_changed( array(
			'before'      => '<h2>',
			'after'       => '</h2>',
			'date_format' => '#',
		) );
	?>

7 Mar 15, 2009 19:42

@John: That's what I figured, which means the linked post is the answer. Especially the links provided by filthio - the second one seems particularly cool.

@michael: you change the date_format to whatever format you want it to be (within the boundaries that php defines for date formatting).


Form is loading...