remove MVHub::Utils::yyyy_mm_dd_to_mm_dd_yyyy

Bug #604094 reported by Dan MacNeil
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MVHub
Confirmed
Low
Sean Cronin

Bug Description

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

  affects mvhub
  assignee saroun-sek
  assignee seancron
 importance low
 status confirmed
 tag refactor
 done

It looks like:

 MVHub::Utils::yyyy_mm_dd_to_mm_dd_yyyy

can be replaced with: the sql function: to_char

see:
http://stackoverflow.com/questions/126897/what-is-the-equivalent-of-the-sqlite-datetime-function-in-postgresql

in various queries like:

 PROGRAM_X_AGENCY_PROGRAM_ID

then quite a lot of code can be removed
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkw4zEsACgkQeAqU5YwjhK/8qQCggUc74nV+YmHrg5OlxTQdCVzO
rZoAn1I4iLP39pHusBLT/gYhsJ41gEfK
=4wjH
-----END PGP SIGNATURE-----

Tags: refactor
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.