Future posts

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
4/3/2009 2:28:50 AM
Gravatar
Total Posts 241

Future posts

 

I wrote some future posts on the blog and they did appear before the date

 

The server time zone is the same of mine, the time is right (i double checked via remote desktop)
mojoportal-mysql is configured in 24h time; server is win2003
I wrote them yesterday, and yesterday they were not published
today they are published, but the publish date it apr-3/09 12:23 and apr-3/09 18:40

they still appear in "unpublished drafts"

 

i have a theory: american date vs european date

i see date as 3/4/2009 ; while american date will be 4/3/2009

4/3/2009 7:15:20 AM
Gravatar
Total Posts 18444

Re: Future posts

Do you have the correct time zone specified in your user profile? That is what is used, when you enter a time it calculates the UTC time based on adjustment from the user's time zone. There may be a bug if its still showing them as drafts when they are published, I will investigate it.

Best,

Joe

4/3/2009 7:20:40 AM
Gravatar
Total Posts 18444

Re: Future posts

I found there is a bug in determining drafts. The stored proc is using getutcdate but if the db is on a different server with different time this can be off. The fix is to pass in the current utctime from .NET code. I am fixing it now.

Thanks,

Joe 

You must sign in to post in the forums. This thread is closed to new posts.