Comments (4)
Continuing my rambling, I think what's happening is that gs.dateGenerate
should be fed dates in the accounts' TZ, and then it converts internally and does it's thing, rather than converting first to UTC, and then feeding that to gs.dateGenerate
.
from pysnow.
Thanks for reporting, I'll look into this shortly.
from pysnow.
Sorry for such a late response.
According to the creator of #136 , datetime comparisons won't work without dateGenerate
. I wasn't able to reproduce this, but decided to implement it anyway as it did function properly in my (apparently insufficient) tests.
The best way forward is probably to make dateGenerate
optional in relevant operations. I'll look into this next week.
Again, thanks for reporting and investigating this.
from pysnow.
This code has now been reverted with #143 and is available in 0.7.14.
Your other points have been noted. Datetime comparison operations will be handled differently in snowstorm, a new ServiceNow library I'm working on.
from pysnow.
Related Issues (20)
- requests.exceptions.ConnectionError
- not_contains should be "NOT LIKE", not "NOTLIKE" HOT 2
- Why there isn't a context manager in the client? HOT 4
- Update a change request record using pysnow.response.Response update() fails. HOT 7
- Requests Hang with Network Blips HOT 4
- Pass certificate info while creating Oauth client HOT 2
- Returning display values when using get_multiple HOT 1
- Tag the source
- Passing a string like "2021-12-01 01:00:00: to less_than/greater_than
- Access servicenow's sys_report_template.do report download function HOT 1
- Unable to load the pysnow module HOT 2
- Upgrade pytz to a more recent version HOT 3
- Usage of sysparm_query_category
- Conversion to dataframe, options around "Display_Value"
- Problem in calling Service Now with custom API Name HOT 1
- ResourceWarning in attachment.upload. File not closed.
- Segmentation Fault upon import
- Unable to install pysnow because pytz version dependence HOT 4
- Resource.get() parameters persist for all requests
- Is this still active? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pysnow.