Closed (cannot reproduce)
Project:
Location
Version:
6.x-3.1-rc1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
3 Nov 2009 at 15:45 UTC
Updated:
18 Feb 2012 at 00:08 UTC
Currently I use these functions
function phptemplate_location_latitude_dms($latitude) {
list($degrees, $minutes, $seconds, $negative) = location_dd_to_dms($latitude);
return t("!deg° !min' !sec\" ". ((!$negative) ? 'N' : 'S'), array('!deg' => $degrees, '!min' => $minutes, '!sec' => $seconds));
}
function phptemplate_location_longitude_dms($longitude) {
list($degrees, $minutes, $seconds, $negative) = location_dd_to_dms($longitude);
return t("!deg° !min' !sec\" ". ((!$negative) ? 'E' : 'W'), array('!deg' => $degrees, '!min' => $minutes, '!sec' => $seconds));
}
Comments
Comment #1
yesct commentedI'm confused... what is the bug? Please check the new version and please provide some more information about the current problem and what fix is expected
Comment #2
yesct commentedComment #3
ankur commentedClosing due to lack of follow up.