https://bugzilla.wikimedia.org/show_bug.cgi?id=65253

            Bug ID: 65253
           Summary: Make TimeValue represent an interval always.
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: WikidataRepo
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
       Web browser: ---
   Mobile Platform: ---

TimeValue has the notion of a precision interval given by the "before" and
"after" fields, in the unit specified by the "precision" field (e.g. "day").

Currently, both "before" and "after" default to 0. "after" however should never
be smaller than 1: the date "March 5 2010" specifies an interval starting at
00:00 that day, and ending 00:00 the next day - so, the precision should be 0,
before should be 0, but after should be 1. I would even go so far as to say
that setting after to 0 is never valid, no matter what the before value is.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to