WordPress.org

Ready to get started?Download WordPress

Forums

MY week starts on monday... (15 posts)

  1. thewalrus
    Member
    Posted 10 years ago #

    ...but WordPress 1.2's week starts on sunday. That's bad. Maybe I'm blind or stupid or both but where is the option to change the first day of the week? There was an option on 1.02.
    Any ideas? Thanks!

  2. prara
    Member
    Posted 10 years ago #

    Think of Sunday as Monday =)

  3. thewalrus
    Member
    Posted 10 years ago #

    But I don't want to work on sunday :(

  4. Root
    Member
    Posted 10 years ago #

    Yeah but the week starts on a Sunday. Everybody knows that ;)

  5. faewench
    Member
    Posted 10 years ago #

    the place to change the start of the week is under options/general options

  6. Oisin
    Member
    Posted 10 years ago #

    Where do you see that? In my General Options area I have:
    - Weblog title
    - Tagline
    - WordPress address (URI)
    - Blog address (URI)
    - E-mail address
    - Membership
    - GMT time is
    - Times in the weblog should differ by
    - Default date format
    - Default time format
    ...but nothing about the start of the week. It was there in 1.0.2 (under Options -> General blog settings), but not in 1.2, as far as I can see.

  7. trebor
    Member
    Posted 10 years ago #

    Still, as a swedish user, I would like to get a easier way to have the monday as the first day of week. Is it that hard to make som kind of "day-offset" in the week display function?
    I looked a bit at the calendar code but it was a bit to much for me right now, and I don't want to mess up the standard code.

  8. AdrianB
    Member
    Posted 10 years ago #

    Another Swedish user here and I'd like to echo the request above, an easy way to offset the start of the week day would be nice.

  9. Anonymous
    Unregistered
    Posted 10 years ago #

    So many WordPress Wizards out there - and still no easy "switch"?

  10. carthik
    Member
    Posted 10 years ago #

    Use phpMyAdmin to see the database, and in the options table, you have an option "start_of_week". By default it is "1" , and you can change it to "2" for Monday, if you please.

  11. Anonymous
    Unregistered
    Posted 10 years ago #

    I just used the link posted: http://www.sebbi.de/files/template-functions-general.diff It took me 5 minutes to sort out (it's a bit akward to understand) - and then 5 minutes to change in template-functions.php - and it seems to work :-)
    But I agree, there must be a correct way to do this? I have tried to work out the plugin by mookitty - and i don't understand squat! - The one to sebbi is resonably understandable, and seems to work.

  12. Anonymous
    Unregistered
    Posted 10 years ago #

    There used to be an option to change the first day of the week, but it never worked so has now been removed.

  13. Sebbi
    Member
    Posted 10 years ago #

    Well, the hack that is the diff file that is posted here makes use of this option, but you are right, it is no longer present in the current version of wordpress (meaning: you cannot change it in the admin interface) ...
    I agree that the diff is in a strange format ... i guess it wont work with the "patch" program...
    Greetings,
    Sebbi
    P.S.: The original thread about this hack is located here: http://wordpress.org/support/10/6513

  14. Anonymous
    Unregistered
    Posted 9 years ago #

    I find it sad that a function this important is not included in the main program. There should be no need for hacks or plugins to perform a task this simple. Is WordPress really not meant to be used outside USA?
    I live in Sweden, as a lot of WordPress users do, and I find it very ugly with a calender where the weeks starts on the wrong day. I will try to implement Sebbi's hack to make it work the way it should have in the first place, but in the next version I think this option must be included in the code.
    Johan Adler
    http://nyfiken.org/

  15. Kafkaesqui

    Posted 9 years ago #

    "but in the next version I think this option must be included in the code."
    It is.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.