Is there a template-friendly way to change the abbreviations created by the automatically available Events calendar block.
I.E. I would like to replace Sun Mon Tue Wed with S M T W T F S . Or is the Events-Views method preferred (or workable) for such alterations? Thanks!
Comments
Comment #1
killes@www.drop.org commentedI am afraid there isn't really a theme friendly way to do this.
What you can do is to change them using the locale module. Not very elegant, though...
Comment #2
hongpong commentedI discovered this tip elsewhere - at least the manual hack for it. comment 11 here: http://drupal.org/node/130508
@ event.module, line 1406,
change it to
$weekdays = array(array('day' => 'Sun', 't' => t('S')), array('day' => 'Mon', 't' => t('M')), array('day' => 'Tue', 't' => t('T')), array('day' => 'Wed', 't' => t('W')), array('day' => 'Thu', 't' => t('T')), array('day' => 'Fri', 't' => t('F')), array('day' => 'Sat', 't' => t('S')));Well that's the manual hack anyway..... I'll call it fixed, as far as I'm concerned. But it would be great to have a toggle in the UI.
Comment #3
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.