"Time" Library not updating

I'm using IDE vers. 1.8.19, perhaps that's the issue here, but Paul Stoffregen's Time library will not update, it is stuck on 1.5.0.

It says it is installing, but the progress bar at the bottom of Library Manager does not fill, even though it says it is updating the list if installed libraries.

When "finished" it still says I have 1.5.0 installed.

I've just updated a load of other libraries with no issues.

Anyone know what is occurring (or not occurring, lol) ?

This Timelib.h : ?

...
...

It doesn't matter which updated version I try to update to, or even install, I'm always left on 1.5.0.

Obviously I don't have the 1.5.0 listed on my Select Version drop-down, because that is the version I already have installed.

I thought the "Update" button on the right always updated you to the latest version ???

Well, it worked for me. I have just updated to 1.6.1 by pressing "update"

Try deleting the library completely, maybe manually, from your installation then re-install it.

I will try that, just got to find the library to delete it first.

Here's what I get, before AND after updating ...

2023-12-13_125649

and whether I choose "Install" (latest version), or just "Update", the IDE just keeps telling me that Time is already installed ...

It is here:

I have deleted time.h, restarted the IDE, and it still says 1.5.0 is installed.

How do I get rid of it to install fresh ?

If you enable verbose output during compilation under file → preferences in the IDE and compile a program that uses the offending library, it will tell you where it found the libraries and which one it is using; I suspect that you have a library hidden somewhere that you have forgotten about. E.g. I have two servo libraries (don't ask why), one is the one that comes pre-installed with the IDE and the other one is in the libraries directory in the sketchbook directory.

Multiple libraries were found for "Servo.h"
  Used: C:\Users\Wim\Documents\Arduino\libraries\Servo
  Not used: C:\Users\Wim\AppData\Local\Arduino15\libraries\Servo

You can use this to find the libraries and manually delete them.

Yes I suspect that's what may have occurred, but I have now got this library updated.

I deleted the Time folder in my Libraries, then restarted the IDE.

Libraries Manager still said I had 1.5.0 Installed, but I clicked on "Update" and it has updated successfully to 1.6.1.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.