summaryrefslogtreecommitdiff
path: root/wizards/source/depot/Depot.xba
diff options
context:
space:
mode:
Diffstat (limited to 'wizards/source/depot/Depot.xba')
-rw-r--r--wizards/source/depot/Depot.xba20
1 files changed, 10 insertions, 10 deletions
diff --git a/wizards/source/depot/Depot.xba b/wizards/source/depot/Depot.xba
index 73f81a1fc2ef..6a8b1419c0e0 100644
--- a/wizards/source/depot/Depot.xba
+++ b/wizards/source/depot/Depot.xba
@@ -129,7 +129,7 @@ Dim LocStockName as String
End If
End If
CurRate = TransactModel.txtRate.Value
- TransactDate = CDateFromISO(TransactModel.txtDate.Date)
+ TransactDate = CDateFromUNODate(TransactModel.txtDate.Date)
DlgTransaction.EndExecute()
UnprotectSheets(oSheets)
@@ -148,7 +148,7 @@ Dim LocStockName as String
oMovementSheet.GetCellByPosition(SBCOLUMNQUANTITY2, iNewRow).Value = -TransactModel.txtQuantity.Value
End If
- oMovementSheet.GetCellByPosition(SBCOLUMNDATE2, iNewRow).Value = CDateFromISO(TransactModel.txtDate.Date)
+ oMovementSheet.GetCellByPosition(SBCOLUMNDATE2, iNewRow).Value = CDateFromUNODate(TransactModel.txtDate.Date)
oMovementSheet.GetCellByPosition(SBCOLUMNRATE2, iNewRow).Value = TransactModel.txtRate.Value
oMovementSheet.GetCellByPosition(SBCOLUMNPROVPERCENT2, iNewRow).Value = TransactModel.txtCommission.EffectiveValue
oMovementSheet.GetCellByPosition(SBCOLUMNPROVMIN2, iNewRow).Value = TransactModel.txtMinimum.Value
@@ -290,7 +290,7 @@ Dim oModel as Object
' Store entered values in variables
OldNumber = oModel.txtOldRate.Value
NewNumber = oModel.txtNewRate.Value
- SplitDate = CDateFromISO(oModel.txtDate.Date)
+ SplitDate = CDateFromUNODate(oModel.txtDate.Date)
iRow = SBROWFIRSTTRANSACT2
NoteText = cSplit & SplitDate & ", " & oModel.txtOldRate.Value & oModel.lblColon.Label & oModel.txtNewRate.Value
Do
@@ -398,8 +398,8 @@ End Sub
Sub SetupTransactionControls(CurStep as Integer)
DlgReference = DlgTransaction
With TransactModel
- .txtDate.Date = CDateToISO(Date())
- .txtDate.DateMax = CDateToISO(Date())
+ .txtDate.Date = CDateToUNODate(Date())
+ .txtDate.DateMax = CDateToUNODate(Date())
.txtStockID.Enabled = False
.lblStockID.Enabled = False
.lblStockID.Label = sCurStockIDLabel
@@ -504,12 +504,12 @@ Sub InitializeStockRatesControls(CurStep as Integer)
Case 2
.txtOldRate.Value = 1
.txtNewRate.Value = 1
- .txtDate.Date = CDateToISO(Date())
+ .txtDate.Date = CDateToUNODate(Date())
Case 3
- .txtStartDate.DateMax = CDateToISO(CDate(Date())-1)
- .txtEndDate.DateMax = CDateToISO(CDate(Date())-1)
- .txtStartDate.Date = CDateToISO(CDate(Date())-8)
- .txtEndDate.Date = CDateToISO(CDate(Date())-1)
+ .txtStartDate.DateMax = CDateToUNODate(CDate(Date())-1)
+ .txtEndDate.DateMax = CDateToUNODate(CDate(Date())-1)
+ .txtStartDate.Date = CDateToUNODate(CDate(Date())-8)
+ .txtEndDate.Date = CDateToUNODate(CDate(Date())-1)
.optDaily.State = 1
End Select
End With
io project files to build.Kohei Yoshida 2013-04-13Trying to fix Windows build. Still broken.Kohei Yoshida 2013-04-13Deliver orcus-parser.lib on Windows.Kohei Yoshida 2013-04-13Deliver another library, though sc still can't link to it. Damn.Kohei Yoshida 2013-04-13Fix linker error against system zlib.Kohei Yoshida 2013-04-13This patch has been upstreamed.Kohei Yoshida 2013-04-13Update the internal liborcus package to 0.5.0.Kohei Yoshida 2013-03-22liborcus depends on zlibStephan Bergmann 2013-03-16move liborcus to gcc-wrapperPeter Foley 2013-03-14remove legacy build.pl prj/build.lst files.Michael Meeks 2013-03-11remove remaining UTF bomBorim 2013-03-02fix build on android with gcc 4.7Peter Foley 2013-03-01Add informative comment and revert unneeded (?) changeTor Lillqvist 2013-02-28fix boost threading on androidPeter Foley 2013-02-28remove all d.lstMichael Stahl 2013-02-22quiet external module build log unless failureNorbert Thiebaud 2013-02-17Improve support for --with-system-boost --with-boost=... in external modulesStephan Bergmann 2013-02-17Missing include in liborcus when building against Boost 1.53.0Stephan Bergmann 2013-01-26gbuild: do not copy boost headers aroundMichael Stahl 2012-12-14Make MSBuild actually run the 2012 compiler when that is what we useTor Lillqvist 2012-12-13Add VS2010 project, avoids unreliable vcupgradeTor Lillqvist