[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-users] date, string formatting and locale
From: |
Hugo Arregui |
Subject: |
[Chicken-users] date, string formatting and locale |
Date: |
Wed, 3 Nov 2010 10:29:14 -0300 |
Hi guys,
I'm facing some troubles getting a formatted string from a date.
1) Using posix:
(use posix)
(time->string (string->time "2" "%d"))
"Tue Jan 2 00:00:00 1900"
but, my current locale es:
(use locale)
(current-locale)
"es_AR.utf8"
(Spanish, Argentina)
2) Trying srfi-19:
srfi-19-io has a format-date, but what kind of format is using?
(require-extension srfi-19-date)
(require-extension srfi-19-io)
(format-date #f "%B" (seconds->date 1))
"%B"
Thanks,
Hugo.
- [Chicken-users] date, string formatting and locale,
Hugo Arregui <=
- Re: [Chicken-users] date, string formatting and locale, Peter Bex, 2010/11/03
- Re: [Chicken-users] date, string formatting and locale, Hugo Arregui, 2010/11/03
- Re: [Chicken-users] date, string formatting and locale, Peter Bex, 2010/11/03
- Re: [Chicken-users] date, string formatting and locale, Hugo Arregui, 2010/11/03
- Re: [Chicken-users] date, string formatting and locale, Hugo Arregui, 2010/11/03
- Re: [Chicken-users] date, string formatting and locale, Kon Lovett, 2010/11/03
- Re: [Chicken-users] date, string formatting and locale, Hugo Arregui, 2010/11/03
Re: [Chicken-users] date, string formatting and locale, Thomas Chust, 2010/11/03