Announcement

Collapse
No announcement yet.

Different Datestamp Format?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Different Datestamp Format?

    Maybe I haven't noticed it before but didn't the datestamp in postbits display only the day's #, month and time? One format example below:

    7th Nov 07, 6:53pm

    And now it includes the day (Wed):

    Wed 7th Nov '07, 6:53pm


  • #2
    Yes, I noticed it since yesterday.

    It's probably one of 3.7 new features.
    $post[signature]

    Comment


    • #3
      Whatever the case, I'd like to adopt that datestamp format.

      Comment


      • #4
        Didn't notice it until this thread, but it's a nice little touch.
        Congratulations on the death of vBulletin, Internet Brands.

        Comment


        • #5
          You can change your default time stamps in vBulletin Options under Time & Date Options. If you have specific language overrides then you can edit these in your Language Manager.
          Translations provided by Google.

          Wayne Luke
          The Rabid Badger - a vBulletin Cloud demonstration site.
          vBulletin 5 API

          Comment


          • #6
            Originally posted by Wayne Luke View Post
            You can change your default time stamps in vBulletin Options under Time & Date Options. If you have specific language overrides then you can edit these in your Language Manager.
            What about days prefixes, Sun, Tue, Fri... Is it possible to edit them in the language manager? because I heard before that requires modifying the code.
            $post[signature]

            Comment


            • #7
              http://www.php.net/manual/en/function.date.php
              Translations provided by Google.

              Wayne Luke
              The Rabid Badger - a vBulletin Cloud demonstration site.
              vBulletin 5 API

              Comment


              • #8
                Yeah, I already know about this.

                Actually I wanted to replace these English prefixes within Arabic versions.
                $post[signature]

                Comment


                • #9
                  You'll simply need to set the locale correclty and then use these variables: http://www.php.net/manual/en/function.strftime.php
                  Best Regards
                  Colin Frei

                  Please don't contact me per PM.

                  Comment


                  • #10
                    That's pretty hard! I will leave it as is.
                    $post[signature]

                    Comment


                    • #11
                      Originally posted by Mazinger View Post
                      That's pretty hard! I will leave it as is.
                      It's darn easy! Go to:

                      vBulletin AdminCP > Languages & Phrases > Your Desired Language: Then choose "Edit Settings".

                      Then in the new page go to "locale" under Date /Time Formatting and type "ar".

                      Then you must rewrite every date or time format even if you want to use vBulletin defaults. For example for date if you typed "%A, %d %B %Y" it will produce something like:
                      الثلاثاء، 24 يوليو 2007

                      I just tested it on my localhost forum and it worked a treat. I'm on Windows of course, so if it didn't work for you it means you should ask your host to install ARabic locales on your hosting account, as you're most probably on Linux.
                      You're spending millions of dollars on a website?!

                      Comment


                      • #12
                        Thanks simsim! I'll give it a try!
                        $post[signature]

                        Comment

                        widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                        Working...
                        X