On Sun, Aug 06, 2000 at 01:10:23PM -0700, Nathan Wiger wrote:
> So you see why we need a persistent format() function. However, I think
> your real issue is a one-time call that just changes the format
> temporarily:
>
> print $date->strftime('%H:%M'); # print the time
> print "$date"; # without touching this
Indeed.
> I'll put strftime() back in, I think that's probably the best thing for
> this.
strftime sounds like a real Unixism to me. 'set_format' and 'format' looks
more neutral and at least as effective.
-- Johan
- Re: RFC 48 (v1) Replace localtim... Nathan Wiger
- Re: RFC 48 (v1) Replace loca... Tim Jenness
- Re: RFC 48 (v1) Replace loca... Philip Newton
- Re: RFC 48 (v1) Replace loca... Tim Jenness
- Re: RFC 48 (v1) Replace loca... Andy Dougherty
- Re: RFC 48 (v1) Replace loca... Jonathan Scott Duff
- Re: RFC 48 (v1) Replace loca... Dan Sugalski
- Re: RFC 48 (v1) Replace localtim... Glenn Linderman
- Re: RFC 48 (v1) Replace localtime() and gmtime() ... Nathan Wiger
- Re: RFC 48 (v1) Replace localtime() and gmtim... Jonathan Scott Duff
- Re: RFC 48 (v1) Replace localtime() and gmtim... Johan Vromans
- Re: RFC 48 (v1) Replace localtime() and g... Andy Dougherty
- Re: RFC 48 (v1) Replace localtime() and gmtim... Bart Lateur
- Re: RFC 48 (v1) Replace localtime() and gmtime() ... Gisle Aas
- Re: RFC 48 (v1) Replace localtime() and gmtim... Bryan C . Warnock
- Re: RFC 48 (v1) Replace localtime() and gmtim... Nathan Wiger
- Re: RFC 48 (v1) Replace localtime() and gmtime() with ... Russ Allbery
- Re: RFC 48 (v1) Replace localtime() and gmtime() ... Jonathan Scott Duff
- Re: RFC 48 (v1) Replace localtime() and gmtime() ... Jarkko Hietaniemi
- Re: RFC 48 (v1) Replace localtime() and gmtime() with ... Damian Conway
