Loading...
 
Skip to main content

Edit Article doesn't default to the correct Publish date

Status
Closed
Subject
Edit Article doesn't default to the correct Publish date
Version
1.9.x
Category
  • Consistency
Feature
Date and Time
Resolution status
Works For Me
Submitted by
RobKelley
Volunteered to solve
RobKelley
Lastmod by
luci
Rating
(0)
Description

When editing a new article, the publish date at the bottom defaults to 2000. The month and day are not consistent, but it's always 2000.

I've checked the code. It's using these variables.

Copy to clipboard
$publishDate = date("U"); $cur_time = getdate(); $expireDate = mktime ($cur_time["hours"], $cur_time["minutes"], 0, $cur_time["mon"], $cur_time["mday"]+365, $cur_time["year"]); $dc = &$tikilib->get_date_converter($user);

I'm running 1.9.1.

Any ideas?

Solution

Works for me - seen that issue!
Probably not cleared template caches after some upgrade!

Importance
9 high
Priority
45
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
397
Created
Friday 28 October, 2005 15:07:25 UTC
by Unknown
LastModif
Saturday 16 February, 2008 10:03:27 UTC


Show PHP error messages