Method code for $world_time.current_season()

[Turn off line numbering]
  1: var t;
  2: 
  3: // This is not very flexible, but works well enough. Note that southern
  4: // hemisphere needs another object, with opposite seasons.
  5: return ["spring", "summer", "fall", "winter"][.local_time() / 2592000 % 4 + 1];
  6: 
  7: // $#Edited: 29 Mar 97 18:39 $miro
  8: // $#Edited: 12 Sep 97 02:04 $miro

["// Created 19-Nov-1996 as a part of ColdCore, see: @help Credit"]

the Cold Dark