Home N-13 News Forums Help Search
RegisterForgot password?
How to add image to post necklacesdiscou
Known bugs - 4.0.3 necklacesdiscou

Latest N-13 News 4.0.3

What is N-13 News?
Where can I get help?
Known bugs

Forums Help & Support Back Dating stories - A Wee Bug?
Rayc
Posted on 04 Sep 2010, 15:02:43

Access: Member
Total Posts: 74
Joined: 2010-06-13

Just experimenting with back dating a story, as I will need to do this with the site I'm setting up to populate the news.

I randomly set the date to January of this year (2010), but when displayed, it shows January 2009. Changing the month to February 2010 displays the proper year.

Here's pics of the Article list, and the display on the web page.

[img]http://soundsinsync.ca/pics/NewsEdit.jpg[/img] [img]http://soundsinsync.ca/pics/NewsDisplay.jpg[/img]
Interestingly, if I set the date to Jan, 2009, it will display as Jan, 2009.

-RayC
#2833
Chris
Posted on 04 Sep 2010, 22:33:02

Access: Admin
Total Posts: 1395
Joined: 2006-05-19

Options > System > News > Date & time format:

For the year section you have %G

http://uk3.php.net/strftime

use %Y instead and it should correct it.
#2835
Rayc
Posted on 05 Sep 2010, 12:12:12

Access: Member
Total Posts: 74
Joined: 2010-06-13

Thanks, Chris.

I had no idea there was such a date format.:blink:

It's all good now.

-Ray
#2837
Network-13.com © 2013