Re: [SMW-devel] SMW_DV_Time.php Time zone monikers and US military time

2009-08-11 Thread Markus Krötzsch
On Dienstag, 11. August 2009, Temlakos wrote: ... > > > 2. I hadn't thought of selecting a default time-zone moniker. I assume > that this would be a new global variable to add to SMW_Settings.php, > with the understanding that one would override this in > LocalSettings.php. If I might suggest:

[SMW-devel] SMW_DV_Time.php Old Style support now added to Julian calendar processing

2009-08-11 Thread Temlakos
Markus, Fabian, and all: This patch (patch.3) implements Old Style date processing in SMW_DV_Time.php. This requires the patch I sent earlier, so I am re-enclosing it today. The English Old Style is slightly more complex than a simple preference for Julian calendar processing. According to t

Re: [SMW-devel] SMW_DV_Time.php Time zone monikers and US military time

2009-08-11 Thread Temlakos
Markus: Thanks for writing back. My responses appear below. Markus Krötzsch wrote: > On Dienstag, 11. August 2009, Temlakos wrote: > ... > > >> 2. I hadn't thought of selecting a default time-zone moniker. I assume >> that this would be a new global variable to add to SMW_Settings.php, >> wi

[SMW-devel] SMW_DV_Time: Symbols "Gr" and "Jl" added to specify Gregorian or Julian rules, regardless of epoch

2009-08-11 Thread Temlakos
Here is yet another patch, that adds recognition of two new calendar-model symbols, "Gr" and "Jl," for "Gregorian" and "Julian", respectively. (I could not use "Ju," because any regex that recognized "Ju" would also recognize the "Ju" in the months named "June" and "July.") Now when a user spe

[SMW-devel] SMW_DV_Time.php: Separate Gregorian and Julian printout values, tooltips, etc.

2009-08-11 Thread Temlakos
Markus, Fabian, and all: Lots of code in this patch. Now that the Gregorian and Julian conversions and back-conversions have been proved, this patch will create a version that computes and outputs both. Specifically, it: 1. Adds another set of day, month, and year parts. 2. Creates separ