public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug time/28227] New: timezone/tzselect.ksh, fix for coord near 180 meridian.
@ 2021-08-14 22:40 noootmeee at mailinator dot com
2021-08-14 22:46 ` [Bug time/28227] " schwab@linux-m68k.org
0 siblings, 1 reply; 2+ messages in thread
From: noootmeee at mailinator dot com @ 2021-08-14 22:40 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=28227
Bug ID: 28227
Summary: timezone/tzselect.ksh, fix for coord near 180
meridian.
Product: glibc
Version: 2.33
Status: UNCONFIRMED
Severity: minor
Priority: P2
Component: time
Assignee: unassigned at sourceware dot org
Reporter: noootmeee at mailinator dot com
Target Milestone: ---
one-line fix of tzselect.ksh, when user enters a longitude near the 180
meridian, to find zones either side of the meridian. eg, -1640-17950 = Matei,
Fiji. Without the fix, Fiji tz isn't even listed.
also delete an apparent spurious echo.
263c263,264
< return abs(long1 - long2) * min(cos(lat1), cos(lat2))
---
> dlong = abs(long1 - long2);
> return min(dlong, 6.28318530718-dlong) * min(cos(lat1), cos(lat2))
391c392
< echo >&2 'listed roughly in increasing order' \
---
> 'listed roughly in increasing order' \
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug time/28227] timezone/tzselect.ksh, fix for coord near 180 meridian.
2021-08-14 22:40 [Bug time/28227] New: timezone/tzselect.ksh, fix for coord near 180 meridian noootmeee at mailinator dot com
@ 2021-08-14 22:46 ` schwab@linux-m68k.org
0 siblings, 0 replies; 2+ messages in thread
From: schwab@linux-m68k.org @ 2021-08-14 22:46 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=28227
--- Comment #1 from Andreas Schwab <schwab@linux-m68k.org> ---
REPORT_BUGS_TO=tz@iana.org
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-08-14 22:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-14 22:40 [Bug time/28227] New: timezone/tzselect.ksh, fix for coord near 180 meridian noootmeee at mailinator dot com
2021-08-14 22:46 ` [Bug time/28227] " schwab@linux-m68k.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).