• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
UBports Robot Logo UBports Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Change day of the week order in Agenda app

Scheduled Pinned Locked Moved Support
7 Posts 3 Posters 1.4k Views 1 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S Offline
      samdevqc
      last edited by 1 Aug 2017, 02:42

      Hi,

      I have a litle problem of day ordering in Agenda app. My system is currently set to french, but I live in Canada, not in France. Here in Canada, the first day of the week is sunday. In France, this is monday. In the Agenda calendar, the first day of the week is monday, like it is in France, but I don't like it. Is it possible to set the calendar to the canadian format? I haven't found any parameter to do that.

      Thanks.

      A 1 Reply Last reply 1 Aug 2017, 07:45 Reply Quote 0
      • U Offline
        UKPhil
        last edited by 1 Aug 2017, 04:18

        I do not see why it would be hard to change it. I am not sure how to do this but have you logged a request for this?

        1 Reply Last reply Reply Quote 0
        • A Offline
          advocatux @samdevqc
          last edited by 1 Aug 2017, 07:45

          @samdevqc can't you set your locale to fr_CA instead of fr_FR?

          A quick (and dirty) fix could be to edit fr_FR locale and change the lines first_weekday 2 and first_workday 2 to first_weekday 1 and first_workday 1

          You can edit the file with nano $ sudo nano /usr/share/i18n/locales/fr_FR and then recompile it with $ sudo locale-gen

          P.S. Remember that the terminal has its own nano overlay because if you don't you'll go crazy trying to edit, save, or exit the file.

          1 Reply Last reply Reply Quote 1
          • S Offline
            samdevqc
            last edited by 1 Aug 2017, 15:56

            I can't set my tablet to franch (Canada), I only have french (France). It would be nice to implement a simple feature to set the first day of the week, like we have in Android. I will try the command-line fix.

            1 Reply Last reply Reply Quote 0
            • S Offline
              samdevqc
              last edited by 1 Aug 2017, 16:18

              I've got a "read-only file system" error when trying to edit these files. Also, the default locales are set to en_US even if Ubuntu Touch is set to french (France).

              A 1 Reply Last reply 1 Aug 2017, 20:41 Reply Quote 0
              • A Offline
                advocatux @samdevqc
                last edited by advocatux 8 Jan 2017, 20:44 1 Aug 2017, 20:41

                @samdevqc did you try to edit the file as user or superuser (with sudo)?

                If you write locale in the terminal, what's the output?

                1 Reply Last reply Reply Quote 0
                • S Offline
                  samdevqc
                  last edited by 1 Aug 2017, 22:37

                  Yes I did. The result of locale is fr_FR.

                  1 Reply Last reply Reply Quote -1
                  3 out of 7
                  • First post
                    3/7
                    Last post