Skip to content

Commit

Permalink
set datetime in yyyy-mm-dd HH:MM:SS format in export files
Browse files Browse the repository at this point in the history
  • Loading branch information
jmgirard committed Nov 28, 2022
1 parent 25489c0 commit bc1f060
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DARMA.prj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<param.appname>DARMA</param.appname>
<param.icon />
<param.icons />
<param.version>6.10</param.version>
<param.version>6.11</param.version>
<param.authnamewatermark>Jeffrey M. Girard</param.authnamewatermark>
<param.email>[email protected]</param.email>
<param.company />
Expand Down
2 changes: 1 addition & 1 deletion fig_collect.m
Original file line number Diff line number Diff line change
Expand Up @@ -816,7 +816,7 @@ function timer_Callback(~,~,handles)
if ~isequal(filename,0) && ~isequal(pathname,0)
% Add metadata to mean ratings and timestamps
output = [ ...
{'Time of Rating'},{datestr(now)},{''},{''}; ...
{'Time of Rating'},{datestr(now, 'yyyy-mm-dd HH:MM:SS')},{''},{''}; ...
{'Multimedia File'},{sprintf('%s%s',defaultname,ext)},{handles.dur},{''}; ...
{'Magnitude'},{handles.settings.magnum},{''},{''}; ...
{'Second'},{handles.settings.labelX},{handles.settings.labelY},{'Button'}; ...
Expand Down
2 changes: 1 addition & 1 deletion fig_launcher.m
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
% License: https://github.com/jmgirard/DARMA/blob/master/LICENSE.txt

global version year;
version = 6.10;
version = 6.11;
year = 2022;
% Create and center main window
defaultBackground = get(0,'defaultUicontrolBackgroundColor');
Expand Down

0 comments on commit bc1f060

Please sign in to comment.