Skip to content

Remove dates js / fake_migrate config option#1011

Merged
lentinj merged 2 commits into
mainfrom
remove_dates_js
Jun 3, 2026
Merged

Remove dates js / fake_migrate config option#1011
lentinj merged 2 commits into
mainfrom
remove_dates_js

Conversation

@lentinj

@lentinj lentinj commented Jun 2, 2026

Copy link
Copy Markdown
Collaborator

The dates.js file is only ever referenced by the node date property, which is never actually used.

When rendering dates in nodes, we actually use "lengthbr", populated from node_details.node_cols["age"].

Also, add an easier-to-get-to config option for when you need to use fake-migrate, and document doing so.

lentinj added 2 commits June 2, 2026 16:45
Mine up fake_migrate to the config, so it's easier to set when
required.

Add some documentation for cloning databases, which requires it.
On closer inspection, seems the dates.js file isn't actually used.
There is no code that accesses the .date property, all other references
to tree_date are setup.

The dates shown on the tree seem to be coming from node_details.
@lentinj lentinj merged commit 327972b into main Jun 3, 2026
1 check passed
@lentinj lentinj deleted the remove_dates_js branch June 3, 2026 08:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant