Bug report #3000

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

Added by Anita Graser over 13 years ago. Updated over 13 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 over 13 years ago

fix #3000

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@14227 c8812cc2-4d05-0410-92ff-de0c093fc19c

Revision b420878d
Added by Jürgen Fischer over 13 years ago

fix #3000

git-svn-id: http://svn.osgeo.org/qgis/trunk@14227 c8812cc2-4d05-0410-92ff-de0c093fc19c

History

#1 Updated by Jürgen Fischer over 13 years ago

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

fixed in b420878d (SVN r14228).

Also available in: Atom PDF