[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Scheme-reports] Date/time package
Noah Lavine scripsit:
> Here's a use case for that: I'm writing a program that wants to deal
> with users in different time zones (maybe a web server or something
> similar). My own program knows about which users are in which time
> zone, and adjusts accordingly. But I'd also like to use a library for
> pretty formatting, which unfortunately wasn't written with this case
> in mind. I have no way to pass a chronology to this library. But if I
> could use call-with-chronology, I wouldn't have to worry about that.
That's a good point, especially now that the chronology argument is optional.
I've eliminated `default-chronology` in favor of `current-chronology`.
You bind it with `parameterize`.
--
John Cowan cowan@x http://ccil.org/~cowan
Objective consideration of contemporary phenomena compel the conclusion
that optimum or inadequate performance in the trend of competitive
activities exhibits no tendency to be commensurate with innate capacity,
but that a considerable element of the unpredictable must invariably be
taken into account. --Ecclesiastes 9:11, Orwell/Brown version
_______________________________________________
Scheme-reports mailing list
Scheme-reports@x
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports