# Web uploader incorrectly adjusting timestamps starting recently

**URL:** <https://forum.inaturalist.org/t/web-uploader-incorrectly-adjusting-timestamps-starting-recently/73034>\
**Category:** Bug Reports\
**Tags:** web, staff-can-replicate\
**Created:** [November 23, 2025, 6:30pm UTC](https://forum.inaturalist.org/t/web-uploader-incorrectly-adjusting-timestamps-starting-recently/73034 "2025-11-23T18:30:09Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![jfmantis](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.inaturalist.org/jfmantis/32/58242_2.png) [@jfmantis](https://forum.inaturalist.org/u/jfmantis)\
**Post date:** [November 23, 2025, 6:30pm UTC](https://forum.inaturalist.org/t/web-uploader-incorrectly-adjusting-timestamps-starting-recently/73034/1 "2025-11-23T18:30:09Z")

</div>

**Platform** : web

**Browser** , if a website issue: Chrome

**URLs (aka web addresses) of any relevant observations or pages**:

Example photo & observation: [https://www.inaturalist.org/photos/591798294](https://www.inaturalist.org/photos/591798294)

**Description of problem** : Sometime recently (~Nov 12) the web uploader started adjusting the timestamps of photos I upload that were taken in a different time zone. For instance, taken in California but posted from New York. The photo linked above was taken at 11:50 AM PDT, the DateTimeOriginal value in the exif data is 11:50 AM, but the time saved in the observation is 2:50 PM PDT. It’s as if the time was extracted from the image, a PDT timezone was attached based on the location, but then it was converted to EST (where I am now) but still saved as PDT.

If I try reposting a photo I uploaded before this started, I see the same thing suggesting that something changed on the inaturalist side.

I notice this recent commit that changed the library used to extract EXIF data: [https://github.com/inaturalist/inaturalist/commit/ccb29789ae9a435c381c77315556ff93ad59726f](https://github.com/inaturalist/inaturalist/commit/ccb29789ae9a435c381c77315556ff93ad59726f) . Not quite sure how it could result in what I’m seeing but the timing lines up pretty well.

(I know there’s an offset slider on the upload page but the timestamps in the photos are already correct, and the fact that this behavior changed recently seems like a bug in itself).

---

<div class="post-metadata">

**Author:** ![pisum](https://avatars.discourse-cdn.com/v4/letter/p/91b2a8/32.png) [@pisum](https://forum.inaturalist.org/u/pisum)\
**Post date:** [November 24, 2025, 1:29am UTC](https://forum.inaturalist.org/t/web-uploader-incorrectly-adjusting-timestamps-starting-recently/73034/2 "2025-11-24T01:29:37Z")

</div>

> [@jfmantis](#):
>
> It’s as if the time was extracted from the image, a PDT timezone was attached based on the location, but then it was converted to EST

~~yes, Pacific Time is ignored, and the datetime is assigned to Eastern based on the location of the observation. this is intentional, not a bug. see [https://forum.inaturalist.org/t/automatic-time-zones/7760/10.](https://forum.inaturalist.org/t/automatic-time-zones/7760/10.)~~

EDIT: sorry, i read this as being an observation in New York, but it looks like the observation is still in California. so if the photo was timestamped with a California time, then the time of the observation should match the timestamp, and if it doesn’t, then it does seem like there is a bug somewhere.

---

<div class="post-metadata">

**Author:** ![jfmantis](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.inaturalist.org/jfmantis/32/58242_2.png) [@jfmantis](https://forum.inaturalist.org/u/jfmantis)\
**Post date:** [November 24, 2025, 6:04am UTC](https://forum.inaturalist.org/t/web-uploader-incorrectly-adjusting-timestamps-starting-recently/73034/3 "2025-11-24T06:04:01Z")

</div>

I did some more digging and think I figured out what’s going on here. Here’s a small example photo I’m using to test (not sure if forum software will preserve exif tags or not (edit: looks like it doesn’t)):

 ![P8182507_](https://us1.discourse-cdn.com/flex016/uploads/inaturalist/original/3X/a/d/ad35b4d7fa9660db10b9b33d61c3ac015d5f7d61.jpeg)

ExifTool reports the following values for this file (among many others, but these are the relevant ones):

```auto
[EXIF] DateTimeOriginal : 2025:08:18 10:54:55
[EXIF] OffsetTimeOriginal : -07:00

```

The exif library previously used, piexifjs, returns a DateTimeOriginal of `2025-08-18 10:54:55`. Looks right. The new library, ExifReader, returns something different: `2025-08-18T10:54:55-07:00`. Somewhere internally it’s parsing the raw EXIF datetime and combining it with the OffsetTimeOriginal. (I don’t know why it would do this, but it appears to do so for all photos from my camera but not from my phone.)

The extracted time then gets parsed using the moment-timezone library, formatted using inat’s `parsableDatetimeFormat` (which intentionally excludes the time zone offset), and finally saved in the observation metadata. This parsing+formatting is where the bug shows up. When parsing times without an offset, moment treats them as in the user’s local time, which is fine since the formatted time will always just match the input time. But when there is an offset, moment converts it into the user’s local time, resulting in a formatted time that appears to have been adjusted. See [this docs page](https://momentjs.com/guides/#/parsing/local-utc-zone/) for more.

My recommendation would be for inat to either switch back to the previous exif library which seems to preserve the original tags better, or if that’s not an option then check whether the extracted DateTimeOriginal contains an offset and if so either remove it or parse it with `moment.parseZone` instead.

All the relevant data for the example photo:

```auto
piexifjs DateTimeOriginal: 2025:08:18 10:54:55
moment parsed time: 2025-08-18T10:54:55-04:00
moment formatted time: 2025/08/18 10:54 AM (good!)

ExifReader DateTimeOriginal: 2025-08-18T10:54:55-07:00
moment parsed time: 2025-08-18T13:54:55-04:00
moment formatted time: 2025/08/18 1:54 PM (wrong!)

moment using parseZone: 2025-08-18T10:54:55-07:00
parseZone formatted: 2025/08/18 10:54 AM (good!)

```

---

<div class="post-metadata">

**Author:** ![graysquirrel](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.inaturalist.org/graysquirrel/32/127_2.png) [@graysquirrel](https://forum.inaturalist.org/u/graysquirrel)\
**Post date:** [November 26, 2025, 9:18pm UTC](https://forum.inaturalist.org/t/web-uploader-incorrectly-adjusting-timestamps-starting-recently/73034/4 "2025-11-26T21:18:59Z")

</div>

I think my issue is related to this. I just noticed that I’d had my camera time off by an hour during my last outing, so I bulk-edited the file times an hour back to correct it.But when I went to upload them, they are uploading with absurdly wrong times.

This mushroom, for example, is uploading as 3:54 AM, while the actual file shows the correct time of 11:54.

 ![Screenshot 2025-11-26 130711](https://us1.discourse-cdn.com/flex016/uploads/inaturalist/original/3X/b/8/b840014b84c5e4ee9c6a34dd0839febda4e20e5f.jpeg)  
 ![Screenshot 2025-11-26 130613](https://us1.discourse-cdn.com/flex016/uploads/inaturalist/original/3X/a/1/a168dc4f1d3d9eba42b3a91c833b0ddc1e886fd6.jpeg)

Oddly, when I first started uploading these, about 20 minutes ago, only SOME of the times were off. I cancelled the upload while I tried to figure out what was going on, and now when I upload those same files, ALL of the times are affected.

I’m resorting to uploading them with the date only and removing the time entirely, but I really hope this gets fixed soon!

---

<div class="post-metadata">

**Author:** ![tiwane](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.inaturalist.org/tiwane/32/54612_2.png) [@tiwane](https://forum.inaturalist.org/u/tiwane)\
**Post date:** [November 26, 2025, 10:23pm UTC](https://forum.inaturalist.org/t/web-uploader-incorrectly-adjusting-timestamps-starting-recently/73034/5 "2025-11-26T22:23:12Z")

</div>

@jfmantis @graysquirrel Are you able to email a few photos as attachments or via something like google drive to [help@inaturalist.org](mailto:help@inaturalist.org) so I can take a look? And let me know what the correct time and time zone should be.

---

<div class="post-metadata">

**Author:** ![einsum](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.inaturalist.org/einsum/32/57161_2.png) [@einsum](https://forum.inaturalist.org/u/einsum)\
**Post date:** [November 27, 2025, 3:20pm UTC](https://forum.inaturalist.org/t/web-uploader-incorrectly-adjusting-timestamps-starting-recently/73034/6 "2025-11-27T15:20:26Z")

</div>

nice. thats a very detailed debugging.  
@pleary is here it seems luckily and can check.

* * *

also maybe can it be retroactively fixed for observations affected within this period?

---

<div class="post-metadata">

**Author:** ![jfmantis](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.inaturalist.org/jfmantis/32/58242_2.png) [@jfmantis](https://forum.inaturalist.org/u/jfmantis)\
**Post date:** [December 2, 2025, 2:52pm UTC](https://forum.inaturalist.org/t/web-uploader-incorrectly-adjusting-timestamps-starting-recently/73034/7 "2025-12-02T14:52:10Z")

</div>

I’ve sent over an example & linked back to this thread.

---

<div class="post-metadata">

**Author:** ![jfmantis](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.inaturalist.org/jfmantis/32/58242_2.png) [@jfmantis](https://forum.inaturalist.org/u/jfmantis)\
**Post date:** [December 2, 2025, 2:54pm UTC](https://forum.inaturalist.org/t/web-uploader-incorrectly-adjusting-timestamps-starting-recently/73034/8 "2025-12-02T14:54:17Z")

</div>

> [@einsum](#):
>
> also maybe can it be retroactively fixed for observations affected within this period?

I actually went through and fixed all my affected photos except the one I linked in my original post; interestingly all I had to do was click “Sync?” on each photo on the observation edit page, which suggests that the code responsible for that is separate from the web uploader and not affected by this bug.

---

<div class="post-metadata">

**Author:** ![tiwane](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.inaturalist.org/tiwane/32/54612_2.png) [@tiwane](https://forum.inaturalist.org/u/tiwane)\
**Post date:** [December 2, 2025, 7:17pm UTC](https://forum.inaturalist.org/t/web-uploader-incorrectly-adjusting-timestamps-starting-recently/73034/9 "2025-12-02T19:17:01Z")

</div>

Thanks for sending your photos and for the detailed info, @jfmantis and @graysquirrel, I made a bug report. It’s definitely related to the device’s current time zone, and I think in the case of graysquirrel’s photos, iNat is resorting to UTC as the default time zone since her photos lack time zone metadata, then subtracting 8 hours as she’s in California.

---

<div class="post-metadata">

**Author:** ![tiwane](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.inaturalist.org/tiwane/32/54612_2.png) [@tiwane](https://forum.inaturalist.org/u/tiwane)\
**Post date:** [December 3, 2025, 8:09pm UTC](https://forum.inaturalist.org/t/web-uploader-incorrectly-adjusting-timestamps-starting-recently/73034/11 "2025-12-03T20:09:17Z")

</div>

OK, this has been fixed. @jfmantis and @graysquirrel, your photos are looking good, and I also tested some of my own photos from other time zones and changed my device’s time zone and it all looks good to me in the uploader.

---

<div class="post-metadata">

**Author:** ![tiwane](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.inaturalist.org/tiwane/32/54612_2.png) [@tiwane](https://forum.inaturalist.org/u/tiwane)\
**Post date:** [December 4, 2025, 4:00pm UTC](https://forum.inaturalist.org/t/web-uploader-incorrectly-adjusting-timestamps-starting-recently/73034/12 "2025-12-04T16:00:07Z")

</div>

This topic was automatically closed after 19 hours. New replies are no longer allowed.
