search for: date_str

Displaying 9 results from an estimated 9 matches for "date_str".

Did you mean: ddate_str
2011 May 18
4
Loop stopping after 1 iteration
...ta<-ncol(data_grid)-4 num_obs<-num_rows_data*num_cols_data time_series<-matrix(nrow=0,ncol=2) for(i in 1:length(num_obs)){ rownum<-ceiling(i/31)+1 colnum<-if(i%%31==0){ 35 }else{ (i%%31)+4 } year<-data_grid[rownum,2] month<-data_grid[rownum,3] day<-colnum-4 date_string<-paste(month,day,year,sep="/") date<-as.Date(date_string,format='%m/%d/%Y') value<-as.character(data_grid[rownum,colnum]) time_series<-rbind(time_series,c(date,value)) } The script is working as I intended it to (goes through a matrix of data where column 2 is t...
2010 Mar 21
0
[PATCH] core: use MY_NAME for syslinux_banner
...-- a/core/isolinux.asm +++ b/core/isolinux.asm @@ -1034,7 +1034,7 @@ writestr_early equ writestr ; Data that needs to be in the first sector ; ----------------------------------------------------------------------------- -syslinux_banner db CR, LF, 'ISOLINUX ', VERSION_STR, ' ', DATE_STR, ' ', 0 +syslinux_banner db CR, LF, MY_NAME, ' ', VERSION_STR, ' ', DATE_STR, ' ', 0 copyright_str db ' Copyright (C) 1994-' asciidec YEAR db ' H. Peter Anvin et al', CR, LF, 0 diff --git a/core/pxelinux.asm b/core/pxelinux.asm index 929ab67....
2011 May 25
1
rake task: uninitialized constant
I have this rake taks: CUSTOM_MONTHS = [nil, "GEN", "FEB", "MAR", "APR", "MAG", "GIU", "LUG", "AGO", "SET", "OTT", "NOV", "DIC"] def parse_date_string(date_string) begin day, month, year = date_string.split("-") Time.mktime(year, CUSTOM_MONTHS.index(month), day).strftime("%Y-%m-%d") rescue return nil end end namespace :import do desc ''import pericolanti'' task :pericolanti => :environment...
2006 Mar 20
1
can't compil
Hello! Why isolinux.asm is not compil? isolinux.asm:304: error: short jump is out of range isolinux.asm:307: error: short jump is out of range isolinux.asm:788: error: symbol `DATE_STR' undefined ui.inc:26: error: short jump is out of range ui.inc:30: error: short jump is out of range ui.inc:64: error: short jump is out of range ui.inc:88: error: short jump is out of range ui.inc:117: error: short jump is out of range ui.inc:337: error: short jump is out of range ui.inc:513:...
2009 Aug 09
2
real serial port output from pxelinux.0
...0 localboot_msg db 'Booting from local disk...', CR, LF, 0 trying_msg db 'Trying to load: ', 0 default_str db 'default', 0 +sfsg db 'So far, so good...', CR, LF, 0 syslinux_banner db CR, LF, 'PXELINUX ', VERSION_STR, ' ', DATE_STR, ' ', 0 cfgprefix db 'pxelinux.cfg/' ; No final null! cfgprefix_len equ ($-cfgprefix) </patch> working? Cheers Geert Stappers
2020 Mar 15
0
How to create a Bootable Live CD/DVD from your Linux From Scratch (LFS) build
...**argv) time(&ts.tv_sec); #endif } +#if !ENABLE_FEATURE_DATE_NANO + ts.tv_nsec = 0; +#endif localtime_r(&ts.tv_sec, &tm_time); /* If date string is given, update tm_time, and maybe set date */ @@ -301,9 +304,10 @@ int date_main(int argc UNUSED_PARAM, char **argv) if (date_str[0] != '@') tm_time.tm_isdst = -1; ts.tv_sec = validate_tm_time(date_str, &tm_time); + ts.tv_nsec = 0; /* if setting time, set it */ - if ((opt & OPT_SET) && stime(&ts.tv_sec) < 0) { + if ((opt & OPT_SET) && clock_settime(CLOCK_REALTIME, &a...
2002 Feb 26
0
syslinux timeout
...ux.asm ./ldlinux.asm --- ../syslinux-1.67/ldlinux.asm Sun Feb 3 18:37:55 2002 +++ ./ldlinux.asm Mon Feb 25 15:43:27 2002 @@ -38,20 +38,23 @@ ; ; Should be updated with every release to avoid bootsector/SYS file mismatch ; %define version_str VERSION ; Must be 4 characters long! %define date DATE_STR ; Defined from the Makefile %define year '2001' ; ; Debgging stuff ; ; %define debug 1 ; Uncomment to enable debugging +; DTM BEGIN ------------------------------------------------ +%define writehex 1 ; writehex +; DTM END -------------------------------------------------- ; ; I...
2011 Jul 11
39
Help filling out a registration (I think it's called multi tenant)
Do you know when you are filling out a registration for a new account, and you keep pressing next to fill the rest of the information in separate pages? I''d like to do that, but I have no idea how. Basically I have a company model with its information, and a contacts model, with belongs to my company (also each company has only one contact), and I''d like for the user to fill in
2008 Jun 08
20
how to parse a "dd/mm/yyyy" formatted date string???
Hi, I''m stuck. How do you parse a "dd/mm/yyyy" formatted date string??? I get a date format error. Thanks in advance Greg --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to