Changeset 7766

Show
Ignore:
Timestamp:
06/30/09 13:48:43 (13 months ago)
Author:
josowski
Message:

Implementation of the dojo chart for article level metrics. There will be other commits regarding this as other dependencies come online.

References #1348

Location:
head/ambra
Files:
2 added
1 modified

Legend:

Unmodified
Added
Removed
  • head/ambra/libs/js/src/main/scripts/ambra/general.js

    r7606 r7766  
    189189  } 
    190190} 
     191 
     192Date.getMonthShortName = function(mon) { 
     193  switch(mon) { 
     194    case 0: 
     195      return "Jan"; 
     196      break; 
     197    case 1: 
     198      return "Feb"; 
     199      break; 
     200    case 2: 
     201      return "Mar"; 
     202      break; 
     203    case 3: 
     204      return "Apr"; 
     205      break; 
     206    case 4: 
     207      return "May"; 
     208      break; 
     209    case 5: 
     210      return "Jun"; 
     211      break; 
     212    case 6: 
     213      return "Jul"; 
     214      break; 
     215    case 7: 
     216      return "Aug"; 
     217      break; 
     218    case 8: 
     219      return "Sep"; 
     220      break; 
     221    case 9: 
     222      return "Oct"; 
     223      break; 
     224    case 10: 
     225      return "Nov"; 
     226      break; 
     227    case 11: 
     228      return "Dec"; 
     229      break; 
     230  } 
     231}