Skip to content

use UTC timestamps for comparison#41

Merged
synman merged 1 commit intosynman:develfrom
jneilliii:bugfix/timestamps
Feb 14, 2026
Merged

use UTC timestamps for comparison#41
synman merged 1 commit intosynman:develfrom
jneilliii:bugfix/timestamps

Conversation

@jneilliii
Copy link
Contributor

@jneilliii jneilliii commented Feb 14, 2026

If you uploaded a file and refreshed the file list the timestamp of newly added file would be off by a year until the equivalent amount of time of the time zone offset had passed. This change assumes UTC time from FTP file listing, not sure if all printers are returning UTC or not, but with a printer that has matching time zone configuration to the server running bpm (it seems my X1 does). Appreciate any feedback from other model printer users.

bpm parsing this line
-rw-r--r-- 1 1000 1000 725773 Feb 14 00:58 su top cover under rear.gcode.3mf

filezilla file listing
image

prior to change
image

after change
image

@synman
Copy link
Owner

synman commented Feb 14, 2026

I'll merge this today and cherry pick it into hotfix to cut a 0.5.6 release. my current focus is on a stable 1.0.0 release where I am finalizing placement of attributes and polishing methods

@synman synman merged commit fc114f5 into synman:devel Feb 14, 2026
8 checks passed
synman added a commit that referenced this pull request Feb 14, 2026
@jneilliii jneilliii deleted the bugfix/timestamps branch February 15, 2026 01:22
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.

2 participants