Bug report #3000

maximumValue(int) doesn't return the biggest datetime in YYYY-MM-DD HH:MM:SS format

Added by Anita Graser about 10 years ago. Updated about 10 years ago.

Status:Closed
Priority:Low
Assignee:nobody -
Category:Data Provider
Affected QGIS version: Regression?:No
Operating System:All Easy fix?:No
Pull Request or Patch supplied: Resolution:fixed
Crashes QGIS or corrupts data: Copied to github as #:13060

Description

Datasource is Shapefile, column containing timestamp is of type text.
The following command doesn't return the biggest timestamp (find test data attached):

qgis.utils.iface.activeLayer().dataProvider().maximumValue(2).toString()

timemanager_testdata.7z (807 Bytes) Anita Graser, 2010-09-14 10:51 AM

Associated revisions

Revision 5334d372
Added by Jürgen Fischer about 10 years ago

fix #3000

git-svn-id: http://svn.osgeo.org/qgis/trunk/[email protected] c8812cc2-4d05-0410-92ff-de0c093fc19c

Revision b420878d
Added by Jürgen Fischer about 10 years ago

fix #3000

git-svn-id: http://svn.osgeo.org/qgis/[email protected] c8812cc2-4d05-0410-92ff-de0c093fc19c

History

#1 Updated by Jürgen Fischer about 10 years ago

  • Resolution set to fixed
  • Status changed from Open to Closed

fixed in b420878d (SVN r14228).

Also available in: Atom PDF