Opened 8 years ago

Closed 8 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:


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 8 years ago.

Download all attachments as: .zip

Change History (4)

Changed 8 years ago by Katie Chan

Attachment: examples.diff added

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

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

comment:3 Changed 8 years ago by Marshall Clow

Resolution: fixed
Status: newclosed

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

Note: See TracTickets for help on using tickets.