Results 1 to 3 of 3

Thread: Calendar: start a week on monday?

  1. #1
    kond is offline Member
    Join Date
    May 2010
    Posts
    12

    Default Calendar: start a week on monday?

    Hi all,
    is it possible to configure/change calendar module so that a week will start on monday, not sunday?
    Here in Russia a week starts on monday...
    Thanks in advance,
    Nikolay.

    P.S. We use CE 6.0.0 with rapira russian pack.

  2. #2
    davidboris is offline Sugar Community Member
    Join Date
    May 2010
    Posts
    1,113

    Default Re: Calendar: start a week on monday?

    Hi,

    All the changes in Calendar module is un-upgrade safe.

    You can do the changes you want by changing

    PHP Code:
    $mod_list_strings = array(
    'dom_cal_weekdays'=>array(
    "Mon",
    "Tue",
    "Wed",
    "Thu",
    "Fri",
    "Sat",
    "Sun",
    ), 
    in modules/Calendar/language/YOUR_LANGUAGE.lang.php
    Thumbs up.

    Skype ID - david__boris

    SugarForge Projects:

    WYSIWYG now in studio!(Version 1.1 is out now!)

    Sugar Feeds on your personalized home pages like iGoogle, My Yahoo!, etc.

    Fab Tools! > Dashlet Not Followed Opportunities for past six Months

  3. #3
    kond is offline Member
    Join Date
    May 2010
    Posts
    12

    Default Re: Calendar: start a week on monday?

    Quote Originally Posted by davidboris View Post
    Hi,

    All the changes in Calendar module is un-upgrade safe.

    You can do the changes you want by changing

    PHP Code:
    $mod_list_strings = array(
    'dom_cal_weekdays'=>array(
    "Mon",
    "Tue",
    "Wed",
    "Thu",
    "Fri",
    "Sat",
    "Sun",
    ), 
    in modules/Calendar/language/YOUR_LANGUAGE.lang.php
    Thank you for the help.
    I tried to change modules/Calendar/language/ru_ru.lang.php as above, but that just renamed sunday to monday, monday to tuesday, an so on...dates are incorrect now... so that calendar shows that today, jul. 22is friday.
    So ... alas, it did not worked as needed...
    What else could be done?

    Thanks and regards,
    Nikolay.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Calendar - Monday start
    By alex3232 in forum Developer Tutorials
    Replies: 13
    Last Post: 2011-11-23, 03:27 PM
  2. first day of Week, change to Monday
    By erol in forum Order Management
    Replies: 15
    Last Post: 2010-06-05, 07:04 AM
  3. Calendar First day Monday
    By petecorbs in forum Developer Help
    Replies: 2
    Last Post: 2009-05-25, 12:46 PM
  4. Calendar that starts on Monday
    By kbrill in forum Developer Help
    Replies: 12
    Last Post: 2007-02-25, 03:12 AM
  5. Replies: 1
    Last Post: 2006-05-23, 08:59 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •