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
- 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+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 397
- Created
- Friday 28 October, 2005 15:07:25 UTC
by Unknown - LastModif
- Saturday 16 February, 2008 10:03:27 UTC