Menu

#3 Add date formatting options

None
closed
nobody
None
5
2024-05-22
2024-05-22
No

When exporting LDAP time attributes, they are usually in GeneralizedTime syntax (RFC 4517), ie YYYYmmddHHMMSS.
This is bad to postprocess in excel etc.

Would be cool to be able to specify some flag to format the value, like -a [format=%d.%m.%Y]createTimestamp to get "01.02.2003" .
The date format string could be used with a standard date format library like unix date.
helpful would also be to have shortcuts like "format:pretty", "time" and "date".

Discussion

  • Benedikt Hallinger

    Patch attached

     

    Last edit: Benedikt Hallinger 2024-05-22
  • Benedikt Hallinger

    Merged

     
  • Benedikt Hallinger

    • status: open --> closed
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.