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 ForumsForumForumProblem with timezones and display of time message was postedProblem with timezones and display of time message was posted
Previous
 
Next
New Post
12/11/2005 8:14 PM
 
Hi,

I thought I would mention an issue that I have noticed in using the forums here and that US and European users are less likely to encounter. The forum adjusts its display of the time a message was posted based on the user's timezone. However, when it displays "Today" or "Yesterday" in place of the actual date, it appears to check against the date on the server rather than the date based on the user's timezone.

To clarify: I am located in Australia and have my timezone set to +10 hours. When someone posts a new message to this forum, the date here is often one day ahead of the date where the server is located (since we are 10 hours ahead of the UK and even further ahead of the US). This means that a newly posted message will not show up as being posted "Today", but instead will show the current date where I am. It also means that when I see a message that the forum says was posted "Today, 6:00 AM" it actually means that it was posted at 6am yesterday in my timezone.

Although it's only a cosmetic issue, it would be good if the date checking could take timezones into account.

Thanks,
David
 
New Post
12/13/2005 11:22 PM
 

Is there any one who is interested in redsigning the forum module for a little cash.

I am setting 50 online forum broken down by states.  I would like each forum to have a master forum where i can setup filtes, etc...  Plus i need all emails to come to me first and then sent out to the correct state.  Also if nobody responses to the email in 24 hours i need to receive notice.

Let me know if this is at all possible.

 

Tim maler

info allinonesubmission com


Tim Maler
 
New Post
1/12/2006 1:59 AM
 

In the 3.20.01 most of this was fixed but the post time displayed in post view.  I have corrected this and will be available in the following release.

 


Chris Paterra

Get direct answers to your questions in the Community Exchange.
 
New Post
1/12/2006 1:05 PM
 

Chris,

I've made this change to LastPostInfo in ForumWhatsNewInfo.vb. This seems to fix the time shift, and I'm guessing will also fix the today problem. I've also shortened the time, since I'm not sure seconds are relevant in what's new information

Cheers
Roger

        Public ReadOnly Property LastPostInfo() As String
            Get
                If mLastPostAlias.Length > 0 Then
                    Dim strInfo As String
                    Dim forumConfig As Forum.Config = Forum.Config.GetForumConfig(mModuleID)
                    Dim mLastCreatedDateTZ As DateTime = ConvertTimeZone(mLastCreatedDate, forumConfig)
                    If mLastCreatedDateTZ.Date = Today Then
                        strInfo = "<b>Today</b>"
                    Else
                        Dim LastCreatedDateTZ As DateTime = ConvertTimeZone(LastCreatedDate, forumConfig)
                        strInfo = LastCreatedDateTZ.ToShortDateString() & " " & LastCreatedDateTZ.ToShortTimeString
                    End If

                    strInfo += " by " & mLastPostAlias
                    Return strInfo
                Else
                    Return ""
                End If

            End Get
        End Property



DNN MVP
Events - Get the latest version - Upgrade now!!
Feedback 6.4.2 - Now available - Give it a go!
Find us on Codeplex - DNN Events, DNN Feedback
Requirements/Bugs - Please submit them on Codeplex
 
New Post
1/13/2006 8:33 PM
 

Roger, I made this fix already as well.  I have been working on this module using German timezones and language packs to iron out the final localization issues.

 


Chris Paterra

Get direct answers to your questions in the Community Exchange.
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForumForumProblem with timezones and display of time message was postedProblem with timezones and display of time message was posted


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