Last change
on this file since 249 was
249,
checked in by hendrikvanantwerpen, 13 years ago
|
This one's for Subversion, because it's so close...
First widget (stripped down sequencer).
Seperated client and server code in two direcotry trees.
|
File size:
178 bytes
|
Line | |
---|
1 | d3.time.year = function(date) { |
---|
2 | return new Date(date.getFullYear(), 0, 1); |
---|
3 | }; |
---|
4 | |
---|
5 | d3.time.year.utc = function(date) { |
---|
6 | return new Date(Date.UTC(date.getUTCFullYear(), 0, 1)); |
---|
7 | }; |
---|
Note: See
TracBrowser
for help on using the repository browser.