We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If Date or Datetime detects that the incoming value is an int or float, it should interpret the value as a unix timestamp.
Date
Datetime
Note that this does not apply if the incoming value is a string, even if it looks like a unix timestamp.
Examples:
>>> f.Datetime().apply(1508882922) datetime.datetime(2017, 10, 25, 11, 8, 42, tzinfo=<UTC>) >>> f.Datetime().apply(1508882922.333) datetime.datetime(2017, 10, 25, 11, 8, 42, 333000, tzinfo=<UTC>) >>> f.Date().apply(1508882922) datetime.date(2017, 10, 25) >>> f.Datetime().apply('1508882922') FilterError: This value does not appear to be a datetime.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
If
Date
orDatetime
detects that the incoming value is an int or float, it should interpret the value as a unix timestamp.Note that this does not apply if the incoming value is a string, even if it looks like a unix timestamp.
Examples:
The text was updated successfully, but these errors were encountered: