HomeHomeDotNetNuke Forg...DotNetNuke Forg...Module ForumsModule ForumsBlogBlogPosting date changes on editPosting date changes on edit
Previous
 
Next
New Post
10/4/2007 10:05 AM
 

I understand that this is a known bug in the module (editing a blog entry changes the posting date from the original to the current date and time, and attempt to manually set the date/time doesn't post).

Just wondering if anyone smarter than me has come up with a patch or work-around yet?

Thanks,

Michael

 
New Post
10/4/2007 10:12 AM
 

Hi Michael,

You can remove this *bad* behaviour by modifying the Blog_UpdateEntry stored procedure. In the Update statement, replace the value GetUTCDate() with @AddedDate.

The only problem with this is that depending on your set-up the TIME part will not be accurate (but the DATE will be correct).

We are working on overhauling the TIMEZONE routines that are causing this problem, and are planning a release soon.

I hope this helps.


Inspector IT, Inc.Antonio Chagoury | Microsoft MVP
Inspector IT, Inc.
Professional .net & DotNetNuke Solutions
web: www.inspectorit.com
blog: www.cto20.com
twitter: @antoniochagoury & @InspectorIT

 
New Post
10/11/2007 6:53 PM
 

Antonio Chagoury wrote

Hi Michael,

You can remove this *bad* behaviour by modifying the Blog_UpdateEntry stored procedure. In the Update statement, replace the value GetUTCDate() with @AddedDate.

The only problem with this is that depending on your set-up the TIME part will not be accurate (but the DATE will be correct).

We are working on overhauling the TIMEZONE routines that are causing this problem, and are planning a release soon.

I hope this helps.

Antonio, Michael,

Instead of changing the line from GetUTCDate() to @AddedDate, why not just comment it out?  As there is already a value in this field, there is no need to update it if it is not being changed.

Regards,

Nigel

 
New Post
10/11/2007 11:46 PM
 

Okay, that would still be a big improvement, but tell me what file I'm looking in for the items??  I did a text search of the whole installation and could not find Blog_UpdateEntry or GetUTCDate().

Thanks a lot.

-Michael

 
New Post
10/12/2007 5:01 AM
 

This is a stored procedure in the database. You will be looking for Blog_UpdateEntry.


Inspector IT, Inc.Antonio Chagoury | Microsoft MVP
Inspector IT, Inc.
Professional .net & DotNetNuke Solutions
web: www.inspectorit.com
blog: www.cto20.com
twitter: @antoniochagoury & @InspectorIT

 
Previous
 
Next
HomeHomeDotNetNuke Forg...DotNetNuke Forg...Module ForumsModule ForumsBlogBlogPosting date changes on editPosting date changes on edit


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

Attend A Webinar
Free Demo Site
Download DotNetNuke Professional Edition Trial
Have Someone Contact Me
Have Someone Contact Me
Charlotte DoDNN

Like Us on Facebook Join our Network on LinkedIn Follow DNN Corporate on Twitter Follow DNN on Twitter

Advertisers

Exact Target Exec Alert
PowerDNN
r2integrated

DotNetNuke Scoop!

Sponsors

DotNetNuke Corporation

DotNetNuke Corp. is the steward of the DotNetNuke open source project, the most widely adopted Web Content Management Platform for building web sites and web applications on Microsoft. Organizations use DotNetNuke to quickly develop and deploy interactive and dynamic web sites, intranets, extranets and web applications. The DotNetNuke platform is available in a free Community and subscription-based Professional and Enterprise Editions with an Elite Support option. DotNetNuke Corp. also operates the DotNetNuke Store where users purchase third party apps for the platform.