コード例 #1
0
 day: function(val){
   return day(val).full();
 }
コード例 #2
0
ファイル: tests.js プロジェクト: anthonyshort/date-day
 it('should get the correct day', function(){
   assert( day(new Date(2014, 0, 1)).full() === 'Wednesday' );
   assert( day(new Date(2014, 0, 1)).short() === 'Wed' );
 });