Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: clarify documentation on date formats. #196

Merged
merged 1 commit into from Mar 19, 2020
Merged

docs: clarify documentation on date formats. #196

merged 1 commit into from Mar 19, 2020

Commits on Mar 18, 2020

  1. docs: clarify documentation on date formats

    System.out.printf("Blob updatetime: %s", blob.getUpdateTime());
    
    The output was
    
    Blob updatetime: 1582157090238
    
    I verified that this was ms after epoch:
    
    $ date -d @1582157090
    Wed 19 Feb 2020 04:04:50 PM PST
    
    I also traced the code to this function:
    
    https://github.com/googleapis/google-http-java-client/blob/master/google-http-client/src/main/java/com/google/api/client/util/DateTime.java#L53
    
    I assumed that create and delete times used the same format.
    johnalowry authored and frankyn committed Mar 18, 2020
    Copy the full SHA
    74129cd View commit details
    Browse the repository at this point in the history