CoreCommunity ExtensionsIncubatorDistributionsTYPO3 4.5 ProjectsTYPO3 4.7 ProjectsTYPO3 6.0 ProjectsTYPO3 6.1 ProjectsTYPO3 6.2 Projects (+)

Bug #6360

Timestamp calculation in results is of by one

Added by Michael Knabe over 3 years ago. Updated over 2 years ago.

Status:Resolved Start date:2010-02-05
Priority:Must have Due date:
Assignee:Ingo Renner % Done:

100%

Category:Frontend Plugins
Target version:1.1
TYPO3 Version: Has patch:
PHP Version: Tags:
Votes: 0

Description

The calculation of timestamps in the resultscommand uses strptime. However strptime uses values from 0 to 11 in order to represent the month. So before giving the value to mktime one month has to be added.

solr_6360.diff (707 Bytes) Michael Knabe, 2010-02-05 14:40


Related issues

related to Apache Solr for TYPO3 CMS - Bug #7834: Wrong date handling in search result Resolved 2010-05-19
duplicates Apache Solr for TYPO3 CMS - Bug #5767: Month in the dates are of by one Resolved 2009-12-16

History

Updated by Michael Knabe over 3 years ago

Updated by Michael Knabe over 3 years ago

Please close this one. I have already submitted that one as Bug #5767 facepalm

Updated by Ingo Renner about 3 years ago

  • Status changed from New to Resolved
  • Assignee set to Ingo Renner
  • Target version set to 1.1
  • % Done changed from 0 to 100

resolved in r33804

Also available in: Atom PDF