Bug report #12016

Example wrong in document

Added by Jonathan Moules almost 6 years ago. Updated over 5 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:-
Affected QGIS version:2.6.0 Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:20219

Description

Help for format_date function says this as its example:

Example
format_date('2012-05-15','dd.mm.yyyy') → 15.05.2012

However, the "mm" (lower case m's) gets the minutes, not the month.
Correct is:

Example
format_date('2012-05-15','dd.MM.yyyy') → 15.05.2012

Associated revisions

Revision bdcbeb19
Added by Jürgen Fischer over 5 years ago

fix format_date example (fixes #12016)

History

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

  • Status changed from Open to Closed

Also available in: Atom PDF