Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index


Lionel Elie Mamane wrote on Mon Nov 18 09:32:57 PST 2013

On Mon, Nov 18, 2013 at 06:10:34PM +0100, Fernand Vanrie wrote:
yep conversions are not the problem, its the exiting code who is
broken in many places ?

What exiting code?

This Basic-Macros excerpt:

oDlg.getControl("myDateField").date = CDatetoIso(now())

was broken in LibreOffice 4.1.1. The only known migration path is to
adjust all broken places with:

REM broken oDlg.getControl("myDateField").date = CDatetoIso(now())
dim oDat as new com.sun.star.util.Date
    with oDat
     .day = Day(now)
     .month = Month(now)
     .year = Year(now)
    end with
    oDlg.getControl("myDateField").date = oDat

Now, if you have thousands LoC of Basic Macros, ...


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.