Ticket #4920 (closed Patches: fixed)

Opened 6 years ago

Last modified 6 years ago

Cleanup of examples

Reported by: ktchan Owned by: az_sw_dude
Milestone: Boost 1.46.0 Component: date_time
Version: Boost Development Trunk Severity: Cosmetic
Keywords: Cc:


The supplied patch correct typos and otherwise update the examples in the libs/date_time/example directory.

3 file changes are cosmetic to make style consistent in all the examples, 5 typo fixes of varying extent, and 1 update example date to make example work again due to "new" time zone rule.


examples.diff (8.2 KB) - added by ktchan 6 years ago.

Change History

Changed 6 years ago by ktchan

comment:1 Changed 6 years ago by Rob Stewart

A couple of things with your patch:

  • Presumably, "non-commutitive" should have been "non-commutative" in gregorian/month_add.cpp (not part of the patch at present).
  • In your patch for local_time/flight.cpp: s/march/March/. While you're at it, s/phoenix/Phoenix/, s/ny/NY/, s/dst/DST/ and, in the output strings, s/phx/PHX/ and s/nyc/NYC/.

comment:2 Changed 6 years ago by marshall

(In [70765]) Updated examples - Refs #4920

comment:3 Changed 6 years ago by marshall

  • Status changed from new to closed
  • Resolution set to fixed

(In [70987]) Merge date/time fixes to release. Fixes #4920


Add a comment

Modify Ticket

Change Properties
<Author field>
as closed
The resolution will be deleted. Next status will be 'reopened'

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.