IfcOpenShell / IfcOpenShell

Open source IFC library and geometry engine
GNU Lesser General Public License v3.0
1.87k stars 733 forks source link

BB: Suggestion: Project Setup Option for Forced DateTime Format #2477

Open garylzimmer opened 2 years ago

garylzimmer commented 2 years ago

Forgive me if this exists, but is there a way to force date times to format a specific way?

It seems a bit inconsistent with DD/MM/YY used in the properties panel for the Work Plan, but the Timeline text object uses YYYY-MM-DD.

If it's too much trouble to force it in every panel, then just a way to change the formatting of the Timeline text object could be plenty good for a while.

Moult commented 2 years ago

You're absolutely correct that's just us being lazy :)

garylzimmer commented 2 years ago

So I'll propose a few options for a forced canonical display formatting for all user facing BlenderBIM dates:

Shorthand for properties panel ui: DD-MM-YY MM/DD/YY

For the timeline text object: YYYY.MM.DD MM/DD/YYYY MMM DD, YYYY

I'm still in the very basic level of making Blender UI elements so any help would be appreciated!

Gorgious56 commented 2 years ago

Don't hesitate to @ me if you have questions about blender's layout API

Andrej730 commented 1 year ago

Sorry, mentioned this issue in commit by mistake.