Skip to content

Commit 4413d8d

Browse files
committed
Ready for bower.
1 parent 3e6939c commit 4413d8d

4 files changed

Lines changed: 17 additions & 17 deletions

File tree

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
develop/*
22
bower_components/*
3-
build/*
43
node_modules/*
54

65
*.swp

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -40,25 +40,25 @@ submodule; the master branch will always contain the latest stable.
4040
see microseconds in Python's datetime API, replace it with milliseconds.
4141
* As there is no operator overloading in JavaScript, the following methods are
4242
used for datetime arithmetics:
43-
* delta.compare(another): returns one of -1, 0, 1
44-
* delta.add(addend)
45-
* delta.subtract(subtrahend)
46-
* delta.multiply(factor)
47-
* delta.divide(divisor)
48-
* If wrong arguments are provided, TypeError is raised. However, argument
49-
validation is yet to be implemented.
43+
* `delta.compare(another)`: returns one of -1, 0, 1
44+
* `delta.add(addend)`
45+
* `delta.subtract(subtrahend)`
46+
* `delta.multiply(factor)`
47+
* `delta.divide(divisor)`
48+
* If wrong arguments are provided, TypeError is raised. However, comprehensive
49+
argument validation is yet to be implemented.
5050
* No tzinfo, only timezone. This is more of a status-quo.
5151
* Other functions/methods which are not (yet?) implemented: `ctime`,
5252
`fromordinal`, `timetuple`, `toordinal`.
5353
* The following printf directives are currently not implemented: `%j`, `%U`, and
54-
`%W`. Also, `%a`, `%A`, `%b`, `%B`, and `%p` are not localised.
55-
* Of the scanf directives, only the `%d`, `%m`, `%Y`, `%H`, `%M`, `%S`, and `%f`
56-
are implemented.
54+
`%W`. However, `%a`, `%A`, `%b`, `%B`, and `%p` are not localised.
55+
* Of the scanf directives, only `%d`, `%m`, `%Y`, `%H`, `%M`, `%S`, and `%f` are
56+
implemented.
5757

5858

5959
## TODO/Roadmap
6060

61-
* To implement the proleptic Gregorian ordinals: toordinal, fromordinal
61+
* To implement the proleptic Gregorian ordinals: `toordinal`, `fromordinal`.
6262
* To validate the constructor arguments.
6363
* To test, document, and improve datetime's interoperability with at least one
6464
of the JavaScript libraries that are synced with the Olson database. In other

bower.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
2-
"name": "datetime",
3-
"description": "",
4-
"main": "",
2+
"name": "pythonic-datetime",
3+
"description": "Pythonic dates, times, and deltas in JavaScript",
4+
"keywords": ["pythonic", "datetime", "date", "time", "timedelta"],
5+
"main": "source/datetime.js",
56
"authors": [
6-
"pavelsof"
7+
{"name": "pavelsof", "homepage": ""}
78
],
89
"license": "MIT",
9-
"homepage": "",
1010
"ignore": [
1111
"**/.*",
1212
"node_modules",

build/datetime.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)