Please login or register.

Login with username, password and session length
Advanced search  

News:

You need/want an older version of sNews ? Download an older/unsupported version here.

Author Topic: Missing year value  (Read 3526 times)

mattd

  • Full Member
  • ***
  • Karma: 0
  • Posts: 121
Missing year value
« on: May 06, 2006, 07:47:09 PM »

Not sure if anyone else has noticed this - nothing came up in a search??

Anyway - the "year value" for comments and articles appears to be missing on pretty much all sNews sites - even on the solucija home page! So you get lots of "Comments (4) 6.5. " and so on.

I noticed it on mine a while ago but assumed it was my fault for poking around so much and breaking something!  

Anyway - this is the code that is broken:

Code: [Select]
$s['fp_date_format'] = "d.m."; // Date format for front page articleschange it to this and its back to how it was intended:

Code: [Select]
$s['fp_date_format'] = "d.m.Y"; // Date format for front page articles
Logged

Patric Ahlqvist

  • Nobodys perfect, but Im pretty effing close
  • ULTIMATE member
  • ******
  • Karma: 65
  • Posts: 4867
  • I'm a self-made man and worships my creator.
    • p-ahlqvist.com
Missing year value
« Reply #1 on: May 07, 2006, 11:16:57 AM »

Hey, Mattd...not really broken. Just a personal pref I think. Luka has just put in date and month, and then it's up to us to decide for our selfs if we want to have the date syntax in an other way... But This has never been brought up i think, so a good thing it was you posted...

If someone wants to change the syntax further a good place to go and read is: http://se2.php.net/date

Patric.
Logged
"It's only dead fish that goes with the flow... "
Updated