[QGIS-trac] [Quantum GIS] #3000: maximumValue(int) doesn't return the biggest datetime in YYYY-MM-DD HH:MM:SS format

Quantum GIS qgis at qgis.org
Tue Sep 14 13:50:42 EDT 2010


#3000: maximumValue(int) doesn't return the biggest datetime in YYYY-MM-DD
HH:MM:SS format
------------------------------------------------+---------------------------
   Reporter:  anitagraser                       |              Owner:  nobody       
       Type:  bug                               |             Status:  new          
   Priority:  major: does not work as expected  |          Milestone:  Version 1.6.0
  Component:  Data Provider                     |            Version:  Trunk        
   Keywords:                                    |   Platform_version:               
   Platform:  All                               |           Must_fix:  No           
Status_info:  0                                 |  
------------------------------------------------+---------------------------
 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()

-- 
Ticket URL: <https://trac.osgeo.org/qgis/ticket/3000>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats


More information about the QGIS-trac mailing list