month name

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
oxygenws
Regular
Posts: 148
Joined: Thu Jan 20, 2005 11:20 am
Location: Iran
Contact:

month name

Post by oxygenws »

where you load "month" and "day of the week" names??
which file?!

i think that it has some bugs there with UTF-8!!
tadpole
Regular
Posts: 88
Joined: Fri Oct 08, 2004 6:20 am
Location: 33°6'4.079" North, 117°3'6.563" West
Contact:

Post by tadpole »

oxygenws
Regular
Posts: 148
Joined: Thu Jan 20, 2005 11:20 am
Location: Iran
Contact:

Post by oxygenws »

thanks :)

as i said "which file?!" in serendipity load it??
tired_one
Regular
Posts: 25
Joined: Thu Jan 13, 2005 11:51 pm
Location: USA

Post by tired_one »

strftime() is a built-in php function

http://us3.php.net/manual/en/function.strftime.php

This function gets it month and day of the week names from setlocale

http://us3.php.net/manual/en/function.setlocale.php
-Robyn
oxygenws
Regular
Posts: 148
Joined: Thu Jan 20, 2005 11:20 am
Location: Iran
Contact:

Post by oxygenws »

thank you :)

i want to know, which file in serendipity weblog system used this php function :)

regards, omid
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

There are lots of them. The central one should be serendipity_formatTime() in include/functions.inc.php. The weekdays you're reporting to be wrong seem to be generated in templates/default/plugin_calendar.tpl

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply