From: Chris S. <chr...@gm...> - 2009-11-21 19:11:15
|
Would it be possible to set the save file name suffix to the variable "next player"? -- Chris Shaffer Please consider the environment before printing this email. On Nov 21, 2009, at 10:31 AM, "Erik Vos" <eri...@xs...> wrote: > On popular request, I have added two new entries to the customizable > configuration file my.properties. > Both affect the default file name proposed by the program: > > Timezone: > save.filename.date_time_zone=UTC > The date-time stamp is calculated using the given time zone > identifier. > Default is local time. > The time zone identifier must be a valid Java time zone name. > Fortunately, > that list is very long. > Java 1.6 supports names like "UTC", "EST", "EST5EDT", "Etc/GMT+5", > "Cuba", > "America/Montreal", "Europe/Amsterdam" etc. > A bit of googling might help. I found a Java applet that displays > the list > at http://mindprod.com/applet/tz.html, > but you must have Java 1.6 installed. > > Suffix: > save.filename.suffix=Me > The suffix is appended to the base file name (before extension), > separated > by an underscore, which is added automatically. > > A file name created by the above settings could be > 1830_20091121_1825_Me.rails > > For some reason that currently escapes me, a file can be saved only > after at > least one move has been done. > I suppose that is not too much of a limitation... > > Erik. > > > --- > --- > --- > --------------------------------------------------------------------- > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > trial. Simplify your report design, integration and deployment - and > focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Rails-devel mailing list > Rai...@li... > https://lists.sourceforge.net/lists/listinfo/rails-devel |