Menu

#364 Auto-Assign Attributes with date-types will not work

closed-fixed
5
2014-11-18
2014-05-08
Bernd Wehle
No

Auto assign attributes works not with date-columns.
This columns ar not displayed in the dialog-window with or without selected features.
With string or numeric variables or columns i have no problems.
This is tested with any different layers and any OJ-Revisions up to 3965.

Discussion

  • michael michaud

    michael michaud - 2014-05-08

    Hi Bernd

    Date attributes were excluded from the list of editable attributes in this plugin.
    I just added the possibility to set a date attribute value (r3974) but you must be aware that not any string can be converted to a date, and you can get unexpected results if you try to fill a date attribute with a value which cannot be parsed.

    Let me know if it solves your problem as we will release 1.7 this week.

     
  • Bernd Wehle

    Bernd Wehle - 2014-05-09

    hi michael,
    i have setting in options this format: "dd.MM.yyyy" and tested with different inputs:
    my input------------Result
    "30.03.2012" --> 30.03.2012 = OK
    "29.02.2013" --> 01.03.2013 = Clever!!!
    "12-06-2011" --> 12.06.2011 = OK
    "03/11/2010" --> 03.11.2010 = OK
    "17031955" --> 17.03.1955 = OK

    what a nice tool !
    I have no ideas to make it better.
    Thanks.
    please close this ticket.

     
  • michael michaud

    michael michaud - 2014-05-09
    • status: open --> closed-fixed
    • assigned_to: michael michaud
     
  • michael michaud

    michael michaud - 2014-05-09

    Thanks,

    Fixed in r3974

     

Log in to post a comment.