| Anonymous | Login | Signup for a new account | 2013-05-20 00:45 CEST | ![]() |
| Main | My View | View Issues | Change Log | Roadmap |
| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||||
| 0004038 | OCaml | OCaml general | public | 2006-06-05 22:58 | 2006-06-18 21:03 | ||||||
| Reporter | bhurt-aw | ||||||||||
| Assigned To | |||||||||||
| Priority | normal | Severity | feature | Reproducibility | always | ||||||
| Status | acknowledged | Resolution | open | ||||||||
| Platform | OS | OS Version | |||||||||
| Product Version | |||||||||||
| Target Version | Fixed in Version | ||||||||||
| Summary | 0004038: No access to timezone information | ||||||||||
| Description | There is no access to the timezone information set by the tzset() function. Note that simply inspecting the TZ environment variable is not sufficient, as that variable may not be set (in which case the C library does implementation-specific methods to figure out the time zone). The tzset(3) function is specificied by POSIX, as such, this is probably a good addition to the Unix module. | ||||||||||
| Additional Information | Attached should be an example possible implementation to provide access to the timezone information. It has an iterface of: external get_timezone : unit -> int = "get_timezone" external get_daylight : unit -> int = "get_daylight" external get_tzname : unit -> string array = "get_tzname" | ||||||||||
| Tags | No tags attached. | ||||||||||
| Attached Files | |||||||||||
Notes |
|
|
(0003691) spiralvoice (reporter) 2006-06-18 21:03 |
Ocaml-RSS, http://savannah.nongnu.org/cvs/?group=ocamlrss [^] has some code for computing local timezone, check Rss_date.localzone: http://cvs.savannah.nongnu.org/viewcvs/ocamlrss/rss_date.ml?rev=1.1&root=ocamlrss&view=auto [^] |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2006-06-05 22:58 | bhurt-aw | New Issue | |
| 2006-06-05 22:58 | bhurt-aw | File Added: timezone.c | |
| 2006-06-10 11:17 | xleroy | Status | new => acknowledged |
| 2006-06-18 21:03 | spiralvoice | Note Added: 0003691 | |
| Copyright © 2000 - 2011 MantisBT Group |