Timezone icon indicating copy to clipboard operation
Timezone copied to clipboard

Master

Open MHotchin opened this issue 6 years ago • 1 comments

Allow inline declaration of TimeChangeRule. Saves 24 bytes RAM, does not affect current code. Instead of this: TimeChangeRule PDT = {"PDT", Second, Sun, Mar, 2, -7 * 60}; TimeChangeRule PST = {"PST", First, Sun, Nov, 2, -8 * 60};

Timezone tz(PDT, PST);

you can now also: Timezone tz(TimeChangeRule("PDT", Second, Sun, Mar, 2, -7 * 60), TimeChangeRule("PST", First, Sun, Nov, 2, -8 * 60));

MHotchin avatar Dec 19 '19 02:12 MHotchin

Sorry about check-in, revert, check-in. Still learning Git.

MHotchin avatar Dec 19 '19 02:12 MHotchin