Branch: Tag:

2001-01-12

2001-01-12 15:26:38 by Mirar (Pontus Hagland) <pike@sort.mirar.org>

better timezone dwim

Rev: lib/modules/Calendar.pmod/Time.pmod:1.11
Rev: lib/modules/Calendar.pmod/Timezone.pmod:1.16
Rev: lib/modules/Calendar.pmod/YMD.pmod:1.29

1372:    string nice_print()    {    if (ls==CALUNKNOWN) make_local(); -  return sprintf("%d:%02d:%02d %s",ls/3600,ls/60%60,ls%60,tzname()); +  return sprintf("%d:%02d:%02d %s",ls/3600,ls/60%60,ls%60,tzname()||"?");    }       string format_nice()