Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsBlogBlogClicking Archive Calander Dates does not load appropriate posts. Clicking Archive Calander Dates does not load appropriate posts.
Previous
 
Next
New Post
3/20/2009 9:47 AM
 

If I create a blog post today (march 20th) the calendar will show with a hi-light indicating that an entry is present for today.

However, if I must click on march 21st (per example) in order to load the blog entries for the 20th.

I have confirmed that the time zone for the portal and for the blog are the same.

Is this normal behavior - a bug - or am I doing something wrong?

 
New Post
3/20/2009 10:37 AM
 

Hi Donny,

we are experiencing different issues with time zones in the actual version. The issues have already been filed under Gemini and will most probably be fixed in the next version. In the meanwhile you can alter the blog's timezone to match a correct behavior.

Best regards,
Dario Rossa

 
New Post
3/20/2009 8:04 PM
 

 Thanks for your reply Dario,

From looking in the database I suspect there is a problem with the stored proc "Blog_GetBlogDaysformonth" - I have downloaded the source code for 03.05.00 and unzipped the Blog_03.05.00_Source\DNN_Blog_Resources directory ... perhaps an issue with "Blog_GetEntry" method...

If I can set my environment to debug will have a go at learning the inner workings.

- Don

 

 
New Post
3/20/2009 8:47 PM
 

I think I found the problem ... the URL contains just the date (no timestamp up to 23:59:59) and it gets passed into 

PROCEDURE [dbo].[Blog_ListEntriesByBlog]

In my own DotNetNuke instance I have altered the WHERE clause per the following:

[I have commented out the original AND condition, and modified by adding 1 day to the @BlogDate parameter]

WHERE (B.[BlogID] = @BlogID OR B.[ParentBlogID] = @BlogID)

--AND E.AddedDate <=@BlogDate

AND E.AddedDate <= DATEADD (day , 1, @BlogDate ) 

... This appears to have fix things up.

- Don

 

 
New Post
3/21/2009 3:25 AM
 

Hi Donny,

thank you for posting, we'll take a close look at the stored procedure to fix the issue.

Best regards,
Dario Rossa

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsBlogBlogClicking Archive Calander Dates does not load appropriate posts. Clicking Archive Calander Dates does not load appropriate posts.


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out