Web Connection
Wrong file dates
Gravatar is a globally recognized avatar based on your email address. Wrong file dates
  Tore Bleken
  All
  Nov 4, 2019 @ 10:09am

Rick,

I notice that a huge number of WWC7 files have wrong modified dates, which is a little bit annoying. For instance all the files in web\lib\vue\dist have the date of October 26th 1985 in the file explorer. I notice that the same date is set for a lot of other files also. A simple "touch" will fix them, but when your next update they will end up as "old" again.

Or maybe someone knows of an utility to change the modified date to created date when the modified date is older?

Update: I found that Xplorer2 has the feature I want, so my problem is solved. However, I hope that the next update gets correct dates.

Gravatar is a globally recognized avatar based on your email address. re: Wrong file dates
  Rick Strahl
  Tore Bleken
  Nov 4, 2019 @ 11:21am

Looks like this is an NPM issue and it's by design:

https://github.com/npm/npm/issues/21141

That really is about the lamest thing I've every heard too, but it is what it is. This means I have to try and locate the latest distributions in some other way that reflects the proper dates.

Just to clarify then - this issue you brought up should apply only to files in the web/lib folder then right?

+++ Rick ---

Gravatar is a globally recognized avatar based on your email address. re: Wrong file dates
  Tore Bleken
  Tore Bleken
  Nov 4, 2019 @ 11:54am

Yes, it's only the web/lib folder. I thought it was more folders, but clearly not. This means that I can easily fix it on my side if it's not an easy fix. Weird, though.

As I wrote, if you can use Xplorer2 to fix the problem. Find the offending files, Select all files and use action->Change dates. Select Modified Set equal to Created [S] and press OK.

Gravatar is a globally recognized avatar based on your email address. re: Wrong file dates
  Rick Strahl
  Tore Bleken
  Nov 5, 2019 @ 08:49pm

I think the problem with that is that even with the created date the dates probably are invalid - they're my copy dates, not the dates the files were created which is almost as useless as those old dates.

I just set up NPM for our lib files using Yarn (NPM competitor) and it pulls files down and time stamps them to the download time. Same crap. This is pretty lame, as they could just ignore the file dates if they don't do anything with them rather than making them truly useless for change detection.

No good solutinos here - some packages can only be reliably retrieved via NPM these days, so getting proper dates may be a fools errand. +++ Rick ---

Gravatar is a globally recognized avatar based on your email address. re: Wrong file dates
  Tore Bleken
  Rick Strahl
  Nov 5, 2019 @ 10:37pm

Thank you for trying. I don't have any technical problems with the old dates as such, it was more that I thought it looked kind of bad.

© 1996-2024