Forum

Support is provided free and on a “best endeavours” basis. This is usually daylight hours, UK time, Monday to Friday.
At the time of this screen being refreshed it was Tuesday 12:13am in the UK.

Welcome Guest 

Show/Hide Header

Welcome Guest, posting in this forum requires registration.





Pages: 1 [2]
AuthorTopic: WP Relative Date Adds 7 Hours to New Posts
David-
Artiss
Administrator
Posts: 382
Post Re: WP Relative Date Adds 7 Hours to New Posts
on: August 12, 2011, 21:22

Do you want to reload the code from the above link and try again - I've made a change that might help? Let me know how you get on.

If it doesn't I have a debug version that I'll release to you that should get to the bottom of it once and for all.

David.

mem
Beginner
Posts: 6
Post Re: WP Relative Date Adds 7 Hours to New Posts
on: August 13, 2011, 09:14

Quote from David Artiss on August 12, 2011, 21:22
Do you want to reload the code from the above link and try again - I've made a change that might help? Let me know how you get on.

If it doesn't I have a debug version that I'll release to you that should get to the bottom of it once and for all.

David.

Hey, new beta fixed it for me. Thank you.

I have one further request: Instead of putting a comma between two time units, why not use 'and'? E.g., write '1 hour and 5 minutes' instead of '1 hour, 5 minutes'. I already changed your code for this in my site but thought you might also consider it.

Thank you again.

David-
Artiss
Administrator
Posts: 382
Post Re: WP Relative Date Adds 7 Hours to New Posts
on: August 13, 2011, 09:55

Excellent - glad to know it worked this time!

Okay, I'll complete my changes and release it. This will include a way to change the dividing character, as you've suggested.

Do you, or anybody else, have any further suggestions for improvement?

David.

David-
Artiss
Administrator
Posts: 382
Post Re: WP Relative Date Adds 7 Hours to New Posts
on: August 13, 2011, 15:49

Okay. Code finished and ready to deploy.

If any of you wish to download from the previous link and try out please let me know before I publish it officially. I've added new functionality to allow the dividing character to be changed and it's generally had a spruce up.

David.

mem
Beginner
Posts: 6
Post Re: WP Relative Date Adds 7 Hours to New Posts
on: August 13, 2011, 19:32

thanks man, i am fine until a release.

GrizzLee
Beginner
Posts: 6
Post Re: WP Relative Date Adds 7 Hours to New Posts
on: August 14, 2011, 02:54

Ah, I had no idea this post had gone on to a second page haha. I reuploaded the plugin downloaded from the link on the previous page and everything works now. Thanks!

David-
Artiss
Administrator
Posts: 382
Post Re: WP Relative Date Adds 7 Hours to New Posts
on: August 14, 2011, 12:10

Version 1.1 has now been officially released with some further features that I've implemented.

David.

mem
Beginner
Posts: 6
Post Re: WP Relative Date Adds 7 Hours to New Posts
on: August 20, 2011, 17:49

Am I missing something or the dividing character must be set in the code? My suggestion is to have it through the WP admin interface, so that we don't need to hack the code every time there is a new release. Well, it is not a frequently update needy plugin, but still...

Best.

David-
Artiss
Administrator
Posts: 382
Post Re: WP Relative Date Adds 7 Hours to New Posts
on: August 20, 2011, 17:52

You're missing something. Version 1.1 has an extra parameter that allows you to specify the dividing character(s).

David.

mem
Beginner
Posts: 6
Post Re: WP Relative Date Adds 7 Hours to New Posts
on: August 21, 2011, 13:33

Oh Bugger I neglected to check the new documentation at the WP plugin page. Sorry.

Pages: 1 [2]
Mingle Forum by cartpauj
Version: 1.0.33.2 ; Page loaded in: 0.028 seconds.