Comments (6)
+1 - sounds good.
from administration.
Initial version of the toolkit at:
https://github.com/ddebrunner/streamsx.datetime
from administration.
+1 For creating this Datetime toolkit
The functions in the initial version look useful and make code a lot more readable
from administration.
+1
How can I contribute to add functions such as :
/**
* Convert a timestamp into an string ISO format
* use 'man strptime' to get the list of available format
*/
public rstring timestampToISO(timestamp dtime)
{
mutable Sys.tm timetuple = { } ;
time(dtime, timetuple) ;
/*
* %Y The year, including century (for example, 1991).
* %m The month number (1-12).
* %d or %e The day of month (1-31).
*/
rstring dateString = strftime(timetuple, "%Y-%m-%d") ;
/*
* %T Equivalent to %H:%M:%S
*/
rstring timeString = strftime(timetuple, "%T") ;
/*
* %z An RFC-822/ISO 8601 standard timezone specification.
*/
rstring timeZoneString = strftime(timetuple, "%z") ;
float64 milliseconds =(float64) getNanoseconds(dtime) / 1000000f ;
return dateString + "T" + timeString + "." +(rstring)((uint32) milliseconds) + timeZoneString ;
}
from administration.
Once the repository is created, you can fork it, make changes and issue a pull request to have those changes become part of the toolkit.
There are some teething issues in setting up new repositories, once this has been resolved proposals should be accepted more quickly.
from administration.
repository has been created and additions can be discussed there. Opening a new issue with above in it in the streamsx.datetime repos.
from administration.
Related Issues (20)
- Proposal for new toolkit streamsx.cloudant HOT 6
- Proposal: Create a repo for Python package wrapping SPL standard toolkit. HOT 3
- Proposal: streamsx.httpasync HOT 11
- New toolkit repository proposal: streamsx.protobuf HOT 9
- Proposal for streamsx.mqtt HOT 1
- Proposal: streamsx.beam HOT 12
- Function proposal: parseDateTime HOT 4
- Proposal: streamsx.nats HOT 6
- What toolkit files should be included in a toolkit release archive? HOT 12
- Proposal to create a new streamsx.sttgateway repository HOT 10
- Propsal to create a new streamsx.inetserver reopsitory HOT 1
- Request to create a new streamsx.crossdc-failover repository HOT 5
- Discussion about the need of new repos for toolkit pypackages HOT 5
- Discussion about consistent tagging of toolkit code and test artifacts HOT 1
- Repository request : WikiRecent HOT 1
- Repository proposal: sample.notebook_templates HOT 6
- New repo samples.forecast_with_r for Streams flows/R demo HOT 2
- Rename streamsx.cppws HOT 11
- Shall streamsx.beam be deleted? HOT 1
- New repo(s) for sample showing edge use cases HOT 4
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 administration.