Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

SMF 2.0 RC3: Calendar and UTF-8

Started by retrib, June 13, 2010, 02:42:57 PM

Previous topic - Next topic


Good day!

Here's a pic:

/Themes/default/Calendar.template.php line 291

<th class="titlebg2 days" scope="col" ', $calendar_data['size'] == 'small' ? 'style="font-size: x-small;"' : '', '>', !empty($calendar_data['short_day_titles']) ? substr($txt['days'][$day], 0, 1) : $txt['days'][$day], '</th>';


<th class="titlebg2 days" scope="col" ', $calendar_data['size'] == 'small' ? 'style="font-size: x-small;"' : '', '>', !empty($calendar_data['short_day_titles']) ? $txt['days_short'][$day] : $txt['days'][$day], '</th>';


Hope that helped somebody.

Adish - (F.L.A.M.E.R)

Sweet, thanks. Although is this only with the language you are using or in english-utf8 aswell ?

What language is it anyway ? We can notify the language mods regarding it.


This bug should affect any UTF-8 lang files.

digger's way is cool too, but i wonder why there are short day tags?


Thank you for the report and for sharing your solution. :)
Indeed, I'd agree that since "short days" are already set, it should be better to use them instead of calculating them.
To-do lists are for deferral. The more things you write down the later they're done... until you have 100s of lists of things you don't do.

File a security report | Developers' Blog | Bug Tracker

Also known as Norv on D* | Norv N. on G+ | Norv on Github

Joshua Dickerson

Come work with me at Promenade Group

Need help? See the wiki. Want to help SMF? See the wiki!

Did you know you can help develop SMF? See us on Github.

How have you bettered the world today?