[Bug 67763] date & time controls: fractional seconds, timezone support, duration, interval

2016-02-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=67763

jan iversen  changed:

   What|Removed |Added

 Whiteboard||ToBeReviewed

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


[Bug 67763] date & time controls: fractional seconds, timezone support, duration, interval

2015-01-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=67763

--- Comment #12 from Alex Thurgood  ---
Adding self to CC if not already on

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Bug 67763] date & time controls: fractional seconds, timezone support, duration, interval

2014-07-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=67763

Lionel Elie Mamane  changed:

   What|Removed |Added

 Status|ASSIGNED|NEW

--- Comment #11 from Lionel Elie Mamane  ---
(In reply to comment #10)

> I am going to resign as assignee. I suggest the qualificatie easyhack is
> dropped: this is not that.

It is marked as a *difficult* one (DifficultyInteresting)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Bug 67763] date & time controls: fractional seconds, timezone support, duration, interval

2014-07-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=67763

Marcel Adriani  changed:

   What|Removed |Added

   Assignee|adrianimar...@gmail.com |libreoffice-b...@lists.free
   ||desktop.org

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Bug 67763] date & time controls: fractional seconds, timezone support, duration, interval

2014-07-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=67763

--- Comment #10 from Marcel Adriani  ---
It's been some time since I looked at this. Turns out I need to work for a
living :-(.

I have to admit, though, that this bug is beyond me. Two reasons:

- for a first try at coding for LibreOffice, the piled-up levels of
abstractions in the number-formatting sections are staggering. This means that
you can never be sure wether one change is going to bring the entire cardhouse
down.
- For this bug, changes need to be made in a part of the program that gets used
everywhere. I cannot grasp the implications of any change made.

I am going to resign as assignee. I suggest the qualificatie easyhack is
dropped: this is not that.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Bug 67763] date & time controls: fractional seconds, timezone support, duration, interval

2014-05-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=67763

--- Comment #9 from Marcel Adriani  ---
Working on:
2. Dedicated "time" and "date" fields, but no single "timestamp"
   control. In base (forms), splitting a datetime into its date and
   time components works (there is special support code for that; each
   control will "touch" only its part of the timestamp).
I discovered that the time-format mask comes from the i18n language .XML, which
gets abstacted in offapi/com/sun/star/i18n/NumberFormatIndex.idl. This is
implemented in such a way that changing it (for instance to make room for
time-masks with micro- milli- and nanosecond precision) is virtually
impossible. I am going to let that rest for now, and work on a proposal to make
the way the language files are abstacted more flexible.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Bug 67763] date & time controls: fractional seconds, timezone support, duration, interval

2014-05-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=67763

--- Comment #8 from Lionel Elie Mamane  ---
(In reply to comment #6)
> (In reply to comment #5)
> > Started with the wrt2-branch.
> Working my way through the wrt-2 branch, I notice that
> offapi/com/sun/star/text/TimeDisplayFormat.idl is marked af deprecated. Are
> you sure that is the right start-point? Thx for yout input@

At first, I rather suspected that the "deprecated" flag is in error, since it
was marked as deprecated when it was introduced (14 Nov 2000, commit ID
20b69e51231b64c9c595ae40dc2c2bb76a8c4e0e).

But then, this constant group is used only in service
::com::sun::star::text::textfield::DateTime, where the property where it is
deprecated anyway.

OTOH, concretely the choices in offapi/com/sun/star/text/TimeDisplayFormat.idl
are the choices one has in the GUI when choosing the format of a time field or
a date field. So - to me - they seem to be in active use within LibreOffice
proper, which is rather incompatible with deprecation. Unless I'm wrong and t

Also, the listed alternative (using a NumberFormatter) means shoe-horning a
date / time in a double, which leads to the problems listed in comment 0.

Grr... I guess we need to look at this very carefully and maybe un-deprecate
it.

Ah no... I think I was just wrong... I thought the list of formats of a
date/time control was a value of ::com::sun::star::text::textfield::DateTime,
but actually it seems to be listed in forms/source/misc/limitedformats.cxx,
function lcl_getFormatTable. So possibly that's the right starting point. But
(same file) function OLimitedFormats::ensureTableInitialized, the description
is subject to a lookup by "xStandardFormats->queryKey", so (I guess) these
"Standard Formats" will have to be extended. Need to find out where they are,
though. I guess this corresponds to the "FormatCode" in
i18npool/source/localedata/data/*.xml, which would need update for all
languages (which in hindsight seems natural). Obviously, those locales that you
don't know will be "done" by our i18n teams.

(In reply to comment #7)
> (In reply to comment #6)
> > I notice that
> > offapi/com/sun/star/text/TimeDisplayFormat.idl is marked af deprecated. Are
> > you sure that is the right start-point? 
> 
> Is now suspect TimeDisplayFormat.hdl is the way to go. That's where I'm
> going now.

TimeDisplayFormat.hdl is generated automatically from  TimeDisplayFormat.idl

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Bug 67763] date & time controls: fractional seconds, timezone support, duration, interval

2014-05-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=67763

--- Comment #7 from Marcel Adriani  ---
(In reply to comment #6)
> I notice that
> offapi/com/sun/star/text/TimeDisplayFormat.idl is marked af deprecated. Are
> you sure that is the right start-point? 

Is now suspect TimeDisplayFormat.hdl is the way to go. That's where I'm going
now.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Bug 67763] date & time controls: fractional seconds, timezone support, duration, interval

2014-05-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=67763

--- Comment #6 from Marcel Adriani  ---
(In reply to comment #5)
> Started with the wrt2-branch.
Working my way through the wrt-2 branch, I notice that
offapi/com/sun/star/text/TimeDisplayFormat.idl is marked af deprecated. Are you
sure that is the right start-point? Thx for yout input@

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Bug 67763] date & time controls: fractional seconds, timezone support, duration, interval

2014-05-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=67763

Lionel Elie Mamane  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
   Assignee|libreoffice-b...@lists.free |adrianimar...@gmail.com
   |desktop.org |

--- Comment #5 from Lionel Elie Mamane  ---
(In reply to comment #4)
> Just letting you know that I am having a go at this. Started with the
> wrt2-branch.

Great, I'm assigning it to you then. Let me know if you have any question.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Bug 67763] date & time controls: fractional seconds, timezone support, duration, interval

2014-05-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=67763

--- Comment #4 from Marcel Adriani  ---
Just letting you know that I am having a go at this. Started with the
wrt2-branch.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Bug 67763] date & time controls: fractional seconds, timezone support, duration, interval

2013-10-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=67763

Björn Michaelsen  changed:

   What|Removed |Added

 CC||libreoffice@lists.freedeskt
   ||op.org

--- Comment #3 from Björn Michaelsen  ---
adding LibreOffice developer list as CC to unresolved EasyHacks for better
visibility.

see e.g.
http://nabble.documentfoundation.org/minutes-of-ESC-call-td4076214.html for
details

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice