Answers.Body: <p>In case this effects anyone else, here's what I did to get working:</p>
  
  <ul>
  <li>update craft to latest version (in this case 3.1.24)</li>
  <li><em>flush</em> cache using Blitz cache plugin (clear is not enough)</li>
  <li>use Cloudfront and not just S3</li>
  <li>update all asset indexes in cms</li>
  </ul>
  
  <p>That seemed to have done the trick.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-04-29T06:12:53.837Z
Answers.LastActivityDate: 2019-04-29T06:12:53.837Z
Answers.UserDisplayName: daver
Body: <p>I am getting a new error, after no apparent updates from me or the client.
  The error only appears on pages with this one particular field.</p>
  
  <blockquote>
    <p>"DateInterval::createFromDateString(): Unknown or bad format ( years) at position 0 (y): The timezone could not be found in the database"</p>
  </blockquote>
  
  <p>(then a whole description of errors after it - the first from <code>/craftcms/cms/src/helpers/DateTimeHelper.php</code>)</p>
  
  <p>The field in question is an asset field (within a Matrix field).
  The files are uploaded / stored in an S3 bucket.</p>
  
  <p>Everything was working fine for a few months, now any site or admin page with content from this particular field throws that error.</p>
  
  <p>I have looked at the database and could not spot any obvious errors (to my eyes anyway).</p>
  
  <p>I've also cleared caches and updated asset indexes</p>
  
  <p>Any ideas as to what I am looking for / do next?</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-04-29T00:28:34.963Z
Comments.Text: seems like its DateInterval::createFromDateString.
Comments.UserDisplayName: Priti Rathod
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-04-29T02:16:37.833Z
Comments.Text: Thanks Priti - Not sure what you mean - have you seen this error before? any suggestions for a fix?
Comments.UserDisplayName: daver
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-04-29T02:21:21.063Z
Comments.Text: Well I haven't seen this error before but as going through your error message it seems like it's PHP error.
Comments.UserDisplayName: Priti Rathod
Tags: <assets><database><timezone>
Title: Assets Error: Unknown or bad format (years) at position 0 (y)
ThreadText: # Assets Error: Unknown or bad format (years) at position 0 (y)
  
  (Asked by: username_0 on 2019-04-28)
  
  I am getting a new error, after no apparent updates from me or the client.
  The error only appears on pages with this one particular field.
  
  > "DateInterval::createFromDateString(): Unknown or bad format ( years) at position 0 (y): The timezone could not be found in the database"
  
  (then a whole description of errors after it - the first from `/craftcms/cms/src/helpers/DateTimeHelper.php`)
  
  The field in question is an asset field (within a Matrix field).
  The files are uploaded / stored in an S3 bucket.
  
  Everything was working fine for a few months, now any site or admin page with content from this particular field throws that error.
  
  I have looked at the database and could not spot any obvious errors (to my eyes anyway).
  
  I've also cleared caches and updated asset indexes
  
  Any ideas as to what I am looking for / do next?
  
  **Tags:** assets, database, timezone
  
  > **Comments:**
  > **username_1**: seems like its DateInterval::createFromDateString.  
  > **username_0**: Thanks username_1 - Not sure what you mean - have you seen this error before? any suggestions for a fix?  
  > **username_1**: Well I haven't seen this error before but as going through your error message it seems like it's PHP error.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2019-04-29. Score: 1
  
  In case this effects anyone else, here's what I did to get working:
  
  * update craft to latest version (in this case 3.1.24)
  * *flush* cache using Blitz cache plugin (clear is not enough)
  * use Cloudfront and not just S3
  * update all asset indexes in cms
  
  That seemed to have done the trick.
  
  
  ---
  
  