Skip to content
GitLab
    • Explore Projects Groups Topics Snippets
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • fusiondirectory-plugins fusiondirectory-plugins
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 65
    • Issues 65
    • List
    • Boards
    • Service Desk
    • Milestones
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • fusiondirectoryfusiondirectory
  • fusiondirectory-pluginsfusiondirectory-plugins
  • Issues
  • #4556
Something went wrong while setting issue due date.
Closed
Open
Issue created 9 years ago by bmortier@bmortierMaintainer
  • New related issue

  • New related issue

all the date should be saved in the generalized time match format

Closed

all the date should be saved in the generalized time match format

Hello,

to be more in line with the other part of the application and to use the same format every where i think we should use generalized time match

this apply to all plugin having a date picker

(from redmine: issue id 4556, created on 2016-02-29, closed on 2017-01-24)

  • Relations:
    • relates #4743 (closed)
  • Changesets:
    • Revision 6f6ff93f by Côme Chilliet on 2016-04-26T02:37:46.000Z:
Fixes #4556 using the new GeneralizedTimeDateAttribute and LdapGeneralizedTime classes

    Tasks

    0

    No tasks are currently assigned. Use tasks to break down this issue into smaller parts.

    Linked items
    ...

      Activity


      • Côme Chilliet
        Côme Chilliet @cchilliet · 9 years ago
        Reporter

        I’m still trying to figure out how to handle this format in PHP.

        It seems it can’t be done with DateTime, it can be approximated with "YmdHisO" but then it will output +0000 instead of Z which I’m not sure is well supported by applications. If the fraction feature is used it won’t work either.

        I think I’m gonna have to extend DateAttribute to support this format with regexps

        (from redmine: written on 2016-03-08)

      • Côme Chilliet
        Côme Chilliet @cchilliet · 9 years ago
        Reporter

        I added a LdapGeneralizedTime helper class and a GeneralizedTimeDateAttribute type. It’s already in use in some plugins.

        Possible candidates for a change of schema to GeneralizedTime format: aliasExpirationDate from alias plugin gosaVacationStart/gosaVacationStop from mail plugin

        Should I change the type of these fields? How would we handle the conversion for existing installation? They are currently stored as timestamps, which seems standard enough. (Plus GeneralizedTime is not that easy to deal with, so for like sieve script or whatever it will be easier to have unix timestamp in vacation dates in my opinion)

        (from redmine: written on 2016-04-26)

      • bmortier
        bmortier @bmortier · 9 years ago
        Author Maintainer

        hello,

        Alias seems a good candidate for me. gosaVacationStart/gosaVacationStop doesnt seems to be into the mail plugin ? i don't remember why

        for migration as always in the fusiondirectory-setup command

        (from redmine: written on 2016-04-28)

      • Côme Chilliet
        Côme Chilliet @cchilliet · 9 years ago
        Reporter

        Benoit MORTIER wrote:

        hello,

        Alias seems a good candidate for me. gosaVacationStart/gosaVacationStop doesnt seems to be into the mail plugin ? i don't remember why

        They only appear if the mail method says it can handle it. There are no mail method with support for this in the current plugins.

        for migration as always in the fusiondirectory-setup command

        It’s starting to be quite crowded already

        (from redmine: written on 2016-04-29)

      • bmortier
        bmortier @bmortier · 9 years ago
        Author Maintainer

        hello,

        following the discussion of this morning, this should stay in 1.1 for now

        Cheers

        (from redmine: written on 2016-05-02)

      • Côme Chilliet
        Côme Chilliet @cchilliet · 8 years ago
        Reporter

        Generalized time format is now in use in relevant attributes. If you think some attribute must use this format please open separate ticket.

        (from redmine: written on 2017-01-24)

      • Côme Chilliet
        Côme Chilliet @cchilliet · 8 years ago
        Reporter

        Close issue

        (from redmine: written on 2017-01-24)

      • Côme Chilliet closed 7 years ago

        closed

      • bmortier added Changed label 6 years ago

        added Changed label

      • bmortier removed Bugs label 2 years ago

        removed Bugs label

      • bmortier added PJ1802-0188 label 2 years ago

        added PJ1802-0188 label

      • bmortier added plugin-community plugin-personal plugin-ppolicy labels 2 years ago

        added plugin-community plugin-personal plugin-ppolicy labels

      Please register or sign in to reply
      Assignee
      Côme Chilliet's avatar
      Côme Chilliet
      Assign to
      Labels
      0
      None
      0
      None
        Assign labels
      • Manage project labels

      Milestone
      No milestone
      None
      Due date
      None
      None
      None
      Time tracking
      No estimate or time spent
      Confidentiality
      Not confidential
      Not confidential

      You are going to turn on confidentiality. Only project members with at least the Reporter role, the author, and assignees can view or be notified about this issue.

      Lock issue
      Unlocked
      0
      0 Participants
      Reference:

      Menu

      Explore Projects Groups Topics Snippets