The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Changes for version 0.031_02 - 2016-11-21

  • commit 2c5d9013a69167364658b5f45cad1bbf63b409b5 Author: Tom Wyant <wyant@cpan.org> Date: Mon Nov 21 13:04:08 2016 -0500
    • Handle inconsistency Time::Local vs Time::y2038
    • The problem here is that earlier in the year I found that Time::Local worked better for dates well away from the current year if I passed it the Gregorian year rather than computing the Perl year. But I support Time::y2038 for the benefit of older Perls, and it expects a Perl year. The fix was to wrap the Time::y2038 calls in code that duplicates Time::Local's year handling.
    • Thanks to Slaven Rezic for finding this, and for having smokers configured with modules like Time::y2038 (which is optional for this package) so that he _could_ find it. Kudos!
  • commit cc4ce758f0f5c215124e0205ed1bc76d676c9358 Author: Tom Wyant <wyant@cpan.org> Date: Sun Nov 20 23:38:25 2016 -0500
    • Version 0.031_01
    • Set version to 0.031_01. Update Changes file for changes since v00.031_0065.
  • commit d9077509a8844a1cab3967e4d53048ac8c1f0c80 Author: Tom Wyant <wyant@cpan.org> Date: Sun Nov 20 22:52:53 2016 -0500
    • Modernize DateTime::Calendar::Christian code
    • The thing I could not fit in Git's 50 character limit was that there was in Astro::App::Satpass2::FormatTime::DateTime a kluge that was put in because DateTime::Calendar::Christian->new() did not support the 'locale' argument. Since it does as of version 0.06, and since this code now requires 0.06, the kluge is now removed.
  • commit ea8143865218271687894b969764a5aba928028a Author: Tom Wyant <wyant@cpan.org> Date: Sun Nov 20 22:29:37 2016 -0500
    • Require DateTime::Calendar::Christian 0.06.
  • commit aa19dab91444ef90984a9a415536623768bf8fec Author: Tom Wyant <wyant@cpan.org> Date: Sat Nov 19 23:23:52 2016 -0500
    • xt/author/minimum_perl.t now checks for use x.xxx

Changes for version 0.031_01 - 2016-11-20

  • Support formatting times with any class conforming to the DateTime interface, via formatter attribute 'back_end'.
  • Support using DateTime (if available) to convert a parsed ISO-8601 time to epoch. An arbitrary class confirming to the DateTime interface can be used instead, if specified.
  • Support era indicators (AD/BC, CE/BCE) suffixed to year in the ISO-8601 time parser. Yes, this is an extension to the standard.
  • Support parsing time with code (a code macro in the case of bin/satpass2).
  • Add interactive method if(), which conditionally executes another interactive command. The conditional command can be 'begin', i.e. a block 'if'. Conditions include checks for operating systems, whether given objects are loaded, and Boolean tests on the values of environment variables and attributes.
  • Implement block time() (with begin ... end). Like if(), this works only interactively.
  • Except Template::Exception messages from the localization code.
  • Try to warn if loading wrong-case module, if we think we might be on a case-tolerant filesystem.
  • Add File::Spec to prerequisites
  • Redo Astro::App::Satpass2::ParseTime->new() to perform as intended, and document its arguments.
  • The formatter object now displays its time_formatter attribute as a short name where possible.
  • Add time_formatter value to 'show' output.
  • Allow specifying a time as a scalar reference, The dereferenced value is interpreted as epoch.
  • Special-case DateTime strftime() format %{calendar_name} to display the name of the calendar in use.
  • Heuristics to make ODF geocoding more useful. I hope.
  • Retract support for Geo::Coder::Geocoder::US. The underlying web site has been AWOL since late 2015.

Documentation

Tutorial on the use of Astro::App::Satpass2

Modules

es
Forecast satellite visibility.
Object copying functionality for Astro::App::Satpass2
Format Astro::App::Satpass2 output
Format Astro::App::Satpass2 output as dump.
Format Astro::App::Satpass2 output as text.
Format time for output.
Provide common functionality for CLDR-type time formatters.
Format time using DateTime
Format time using DateTime->format_cldr()
Format time using DateTime->strftime()
Format time using POSIX::strftime
Provide common functionality for strftime-type time formatters.
Format Astro::App::Satpass2 output as text.
Abstract geocoding wrapper class.
Wrapper for Geo::Coder::OSM
Handle locale-dependant data.
Define the C locale for Astro::App::Satpass2
Implement a macro
Implement code as macros
Define a macro which consists of an array of commands
Parse time for Astro::App::Satpass2
Astro::App::Satpass2 wrapper for custom code to parse time
Parse time for Astro::App::Satpass2 using Date::Manip
Astro::App::Satpass2 wrapper for Date::Manip v5 interface
Astro::App::Satpass2 wrapper for Date::Manip v6 or greater
Astro::App::Satpass2 minimal ISO-8601 parser
Utilities for Astro::App::Satpass2
Output warning and error messages
Wrap an array reference.