Skip to content

Commit

Permalink
macro date: %Z is now TZ name as promised; %z is now TZ offset
Browse files Browse the repository at this point in the history
  • Loading branch information
alabuzhev committed Aug 26, 2017
1 parent c975bb8 commit 80e376f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion far/HACKING-EN
Expand Up @@ -61,7 +61,7 @@ Macro {
Keys("CtrlHome End CtrlLeft")
build=mf.int(mf.substr(Editor.Value,Editor.RealPos-1))+1;
Keys("CtrlHome")
print(mf.date("name %d.%m0.%Y %H:%M:%S %Z - build ")) print(build)
print(mf.date("name %d.%m0.%Y %H:%M:%S %z - build ")) print(build)
for RCounter=4,1,-1 do Keys("Enter") end
Keys("Up Up 1 . Space")
end;
Expand Down
2 changes: 1 addition & 1 deletion far/HACKING-RU
Expand Up @@ -61,7 +61,7 @@ Macro {
Keys("CtrlHome End CtrlLeft")
build=mf.int(mf.substr(Editor.Value,Editor.RealPos-1))+1;
Keys("CtrlHome")
print(mf.date("name %d.%m0.%Y %H:%M:%S %Z - build ")) print(build)
print(mf.date("name %d.%m0.%Y %H:%M:%S %z - build ")) print(build)
for RCounter=4,1,-1 do Keys("Enter") end
Keys("Up Up 1 . Space")
end;
Expand Down
2 changes: 1 addition & 1 deletion far/config.cpp
Expand Up @@ -1788,7 +1788,7 @@ void Options::InitConfigsData()
{FSSF_PRIVATE, NKeyLayout,L"RightHeightDecrement", OPT_DEF(RightHeightDecrement, 0)},
{FSSF_PRIVATE, NKeyLayout,L"WidthDecrement", OPT_DEF(WidthDecrement, 0)},

{FSSF_PRIVATE, NKeyKeyMacros,L"DateFormat", OPT_DEF(Macro.strDateFormat, L"%a %b %d %H:%M:%S %Z %Y")},
{FSSF_PRIVATE, NKeyKeyMacros,L"DateFormat", OPT_DEF(Macro.strDateFormat, L"%a %b %d %H:%M:%S %z %Y")},

{FSSF_PRIVATE, NKeyKeyMacros,L"KeyRecordCtrlDot", OPT_DEF(Macro.strKeyMacroCtrlDot, L"Ctrl.")},
{FSSF_PRIVATE, NKeyKeyMacros,L"KeyRecordRCtrlDot", OPT_DEF(Macro.strKeyMacroRCtrlDot, L"RCtrl.")},
Expand Down

0 comments on commit 80e376f

Please sign in to comment.