Modify

Opened 7 years ago

Closed 7 years ago

#4920 closed Patches (fixed)

Cleanup of examples

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

Description

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.

Attachments (1)

examples.diff (8.2 KB) - added by Katie Chan 7 years ago.

Download all attachments as: .zip

Change History (4)

Changed 7 years ago by Katie Chan

Attachment: examples.diff added

comment:1 Changed 7 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 7 years ago by Marshall Clow

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

comment:3 Changed 7 years ago by Marshall Clow

Resolution: fixed
Status: newclosed

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

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain az_sw_dude.
The resolution will be deleted.

Add Comment


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

 
Note: See TracTickets for help on using tickets.